Log a returned piece

POST/v1/returns
Auth: Factory API key

Request body

FieldTypeDescription
retailer_idrequiredstring·
order_idstring·
barcodestring·
descriptionrequiredstring·
reasonstring·

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"
  }'