API Reference
cURL
curl --request POST \ --url https://api.oplog.one/openapi/v1/ReceivingOrders \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json-patch+json' \ --data ' { "lineItems": [ { "sku": "<string>", "expectedQuantity": 123 } ], "integrationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "referenceNumber": "<string>", "transferType": "CargoTransfer", "cargoTransfer": { "shipmentDate": "2023-11-07T05:31:56Z", "cargoCompanyName": "<string>", "trackingNumber": "<string>" }, "pickupTransfer": { "pickupDate": "2023-11-07T05:31:56Z", "pickupAddress": "<string>" }, "carriageTransfer": { "shipmentDate": "2023-11-07T05:31:56Z", "carriageCompanyName": "<string>", "waybillNumber": "<string>" } } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "referenceNumber": "<string>", "state": "ReceivingOrderCreated", "transferType": "CargoTransfer", "integration": { "integrationName": "<string>", "integrationType": "CudExcludedIntegrations" }, "transferDetails": { "shipmentDate": "2023-11-07T05:31:56Z", "cargoCompanyName": "<string>", "trackingNumber": "<string>", "pickupDate": "2023-11-07T05:31:56Z", "pickupAddress": "<string>", "carriageCompanyName": "<string>", "waybillNumber": "<string>" }, "lineItems": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "imageUrl": "<string>", "productName": "<string>", "acceptedQuantity": 123, "damagedQuantity": 123, "processedAt": "2023-11-07T05:31:56Z", "sku": "<string>", "expectedQuantity": 123 } ], "createdAt": "2023-11-07T05:31:56Z", "arrivedToWarehouseAt": "2023-11-07T05:31:56Z", "completedAt": "2023-11-07T05:31:56Z", "cancelledAt": "2023-11-07T05:31:56Z" }
If you want to emulate, please enter TenantId.
Show child attributes
CargoTransfer
PickupTransfer
CarriageTransfer
Success
ReceivingOrderCreated
ArrivedToWarehouse
Completed
Cancelled
Was this page helpful?