Back to stock (needs a bay) or write off
PATCH
/v1/returns/{id}Auth: Factory API key
Path parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | · |
Request body
| Field | Type | Description |
|---|---|---|
statusrequired | string | · one of: "restocked", "written_off" |
location | string | · |
Response
200
Code samples
curl -X PATCH "https://api.skuflo.io/v1/returns/id_9c1a4e" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"status": "restocked",
"location": "A3"
}'