Skip to content
Public API
Esc
↑↓navigate↵open⌘Jpreview

Update a reel group

The id goes in the body (numeric) — there is no :id in the path. It is the same id POST /reel-group and GET /reel-group return. The name appears in reads as inventoryProductName.

PUT/reel-group
Authorization
AuthorizationAPI key · headerrequired

The Incoming Secret value (<secretId>.<random>), with or without a Bearer prefix.

Request body
application/json
idintegerrequired

Id of the reel group (numeric, not a string).

namestring

Reel group name.

inventorySupplierProductsobject[]

Supplier offers for the product.

Show properties
Array of object
inventorySupplierIdintegerrequired

Id of the supplier.

currencyIdintegerrequired

Id of the currency.

purchasePricenumberrequired

Purchase price.

leadTimenumber

Lead time in days.

Responses
200

OK. Returns only the id — fetch the full ReelGroup with the corresponding GET.

idinteger | stringrequired

Id of the updated ReelGroup.

Show properties
One of:
integer
integer
string
string
401

Authentication failed. All causes return this identical response.

codeinteger
messagestring
typestring
default

Downstream errors pass through verbatim; x-error-source names the failing service.

codeinteger
messagestring
typestring
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X PUT 'https://next.amfg.ai/engine-service/public-api/v1/reel-group' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "id": 0,
  "name": "string",
  "inventorySupplierProducts": [
    {
      "inventorySupplierId": 0,
      "currencyId": 0,
      "purchasePrice": 0,
      "leadTime": 0
    }
  ]
}'
Response
{
  "id": 0
}