Log a returned piece
POST
/v1/returnsAuth: Factory API key
Request body
| Field | Type | Description |
|---|---|---|
retailer_idrequired | string | · |
order_id | string | · |
barcode | string | · |
descriptionrequired | string | · |
reason | string | · |
Response
200
Code samples
curl -X POST "https://api.skuflo.io/v1/returns" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"retailer_id": "ret_9c1a4e",
"description": "Base arrived with a scuffed corner",
"order_id": "ord_7e21f0",
"barcode": "OAK 7F3K9QZ2",
"reason": "damaged"
}'