Add or change SKUs in your catalogue (piece counts, names, product type)
PUT
/v1/sku-piecesFactory API keyBase URL api.skuflo.io!
Try it nowThis endpoint changes or removes real data. It cannot easily be undone, so check the values before you call it, and use a test factory if you have one.
Body parameters#
| Name | Type | Description |
|---|---|---|
skurequired | string | · |
product_nameoptional | string | · |
sizeoptional | string | · |
piecesrequired | integer | · |
piece_namesoptional | string[] | · |
unit_costoptional | number, nullable | · |
product_typeoptional | string, max 60, nullable | One of your product types: an order line for this SKU that leaves its type out gets this one |
Responses#
| Status | Meaning |
|---|---|
| 200 | Success. An example body is in the column on the right. |
Other errors#
| Status | Meaning |
|---|---|
| 401 | No key, or the key is not recognised. |
| 402 | billing_required. Reading always works, but this is a write and stops once a trial ends or a plan is cancelled. |
| 403 | The key is valid but its role cannot do this. |
| 422 | The body failed validation. The response lists every problem at once. |
| 429 | More than 600 requests a minute. Wait retry-after seconds. |