Skip to content

Real Time Inventory Receipt API (1.0.0)

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.

Download OpenAPI description
Overview
Languages
Servers
Mock server
https://developer.optoro.com/_mock/openapi/inventory_receipt/openapi

Create Inventory Receipt

Request

It notifies when a unit is received into Optiturn against an ASN. Endpoint provided by the client to the Optoro account manager.

Bodyapplication/jsonrequired
program_identifierstringrequired

The program identifier under which this inventory was received. This value will be provided by your implementation team.

Example: "returns"
asn_numberstringrequired

The reference number for the ASN this item is being received against.

Example: "SO00001234"
shipment_identifierstring

A reference number which may be used to identify multiple ASNs which were created against a single Order or RMA. This is the shipment_identifier that was passed on the Inbound ASN.

Example: "SI1ZAAAAAAZZ97764680"
fromobject(From)required
from.​identifierstringrequired

The from location for the ASN this receipt is being sent for.

Example: 22
from.​typestringrequired

Type of the from location. Matches the Inbound ASN from.type.

Example: "Warehouse"
toobject(To)required
to.​identifierintegerrequired

Identifier for the to location. The internal OptiTurn warehouse identifier where this unit was received. This will be provided by your implementation team.

Example: 1352
to.​typestringrequired

Type of the to location

Example: "Store"
to.​original_identifierstringrequired

Identifier for the original location. ie Numeric Warehouse ID, Store Number.

Example: 42
carton_identifierstring

The carton.identifier this unit was received in, if present on the inbound ASN.

Example: "CTAA1234567"
referenceobject(Reference)
line_identifierstring

The line_identifer in the ASN which this unit was received against.

Example: 123456789
unit_identifierstringrequired

The Optiturn LP.

Example: 123456891011
reference_line_identifierstring

If present, the line in the reference which this unit was received against e.g. an RMA item.

Example: 1
skustringrequired

The SKU for this item.

Example: "S123456"
upcstring

The UPC for this item.

Example: 12345678905
serial_numberstring

The serial number for this unit, if provided on the inbound ASN or collected.

Example: 12345678910001
initial_conditionstringrequired

Condition during receiving - values will be one of the following: 'N', 'R', 'A', 'B', 'C', 'X', 'TT'.

Enum"N""R""A""B""C""X""TT"
Example: "N"
initial_channelstringrequired

The channel this unit was assigned at receiving. This can change throughout the workflow.

Example: "blinq"
return_reasonstring

The reason for a return, if provided on the inbound ASN or collected.

Example: "not like"
ot_user_loginstringrequired

The user who received the unit.

Example: "jdoe@email.com"
merchantstring

The merchant passed on the inbound ASN. Typically the inventory owner.

Example: "Merchant Name"
conceptstring

The concept passed on the inbound ASN. Typically a brand of the merchant.

Example: "Brand"
asinstring

Amazon Serial Identification Number. A 10-character alphanumeric unique identifier, which can be used to identify the product at receiving.

Example: 120029872
tracking_numberstring

Tracking number scanned at receiving. This may differ from the one provided on the Inbound ASN in the event of an exception scenario.

Example: 123012300123033
location_identifierstring

Initial storage location in Optiturn where the unit is placed after receiving.

Example: "Pallet 1"
client_unit_identifierstring

The details.unit.identifier passed on the inbound ASN OR the client LPs if present.

Example: 123456891011
reject_reasonstring

'Empty Box' when a receiver indicates a parcel is empty or clearly at attempt at fraud i.e. a brick.

Example: "Empty Box"
curl -i -X POST \
  https://developer.optoro.com/_mock/openapi/inventory_receipt/openapi/inventory_receipt \
  -H 'Content-Type: application/json' \
  -d '{
    "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"
  }'

Responses

Success response should return HTTP status code 200 if the API already received the rma info in a prior request.