Download OpenAPI specification:Download
The Inventory Receipt API allows clients to be notified when a unit is received into Optiturn against an ASN. This requires that an ASN was sent to Optiturn for the inventory.
It notifies when a unit is received into Optiturn against an ASN. Endpoint provided by the client to the Optoro account manager.
Success response should return HTTP status code 200 if the API already received the rma info in a prior request.
Success response should return HTTP status code 201 for a new rma.
Error response will be HTTP status code 400 for other bad/unparseable requests.
Error response will be HTTP status code 401 for missing or bad api_key (these have no body).
Error response will be HTTP status code 422 for validation errors (missing or invalid fields in this case).
{- "program_identifier": "returns",
- "asn_number": "SO00001234",
- "shipment_identifier": "SI1ZAAAAAAZZ97764680",
- "from": {
- "identifier": 22,
- "type": "Warehouse"
}, - "to": {
- "identifier": 1352,
- "type": "Store",
- "original_identifier": 42
}, - "carton_identifier": "CTAA1234567",
- "reference": {
- "type": "RMA",
- "identifier": 12345,
- "alternate_identifier": "OR12345678"
}, - "line_identifier": 123456789,
- "unit_identifier": 123456891011,
- "reference_line_identifier": 1,
- "sku": "S123456",
- "upc": 12345678905,
- "serial_number": 12345678910001,
- "initial_condition": "N",
- "initial_channel": "blinq",
- "return_reason": "not like",
- "ot_user_login": "jdoe@email.com",
- "merchant": "Merchant Name",
- "concept": "Brand",
- "asin": 120029872,
- "tracking_number": 123012300123033,
- "location_identifier": "Pallet 1",
- "client_unit_identifier": 123456891011,
- "reject_reason": "Empty Box"
}