Order Pack
The Order Pack API allows for the bulk packing of orders. If a packed event is raised for a canceled shipment, the call will generated an objection and will not allow it.
Request Type:
POST
Scheme:HTTPS
Endpoint:https://{{host}}/oms/v3/shipment/pack
Try out Fynd Konnect's Order Pack Endpoint
Common Request Header
Header | Mandatory | Description |
---|---|---|
x-access-token | Yes | The token required for authenticated calls to Fynd Konnect. |
Important Considerations
- Supports order pack calls for upto 20 orders in a single API call.
- This API updates the status of the specified orders to
bag_packed
on Fynd, which can be fetched using Fetch Orders withorderStatus=COMPLETED
Body
orderIdstringrequired
Unique identifier for the order for which the order pack call needs to be pushed to Fynd
Success Response
payloadCountinteger
Number of payloads in the request
successCountinteger
Number of successfully processed payloads
failedCountinteger
Number of payloads that failed
statusstring
Status of the API call
errorsArray of objects
Empty if everything succeeded
API Call Example
- Fynd Konnect [Sandbox] https://fyndkonnect.konnect.uat.fyndx1.de/oms/v3/shipment/pack
- Ginesys <> Konnect [Sandbox] https://ginesys.konnect.uat.fyndx1.de/oms/v3/shipment/pack
- Unicommerce <> Konnect [Sandbox] https://unicommerce.konnect.uat.fyndx1.de/oms/v3/shipment/pack
curl -i -X POST \
https://fyndkonnect.konnect.uat.fyndx1.de/oms/v3/shipment/pack \
-H 'Content-Type: application/json' \
-H 'x-access-token: YOUR_API_KEY_HERE' \
-d '[
{
"orderId": "string"
}
]'
Response
application/json
{ "payloadCount": 2, "successCount": 2, "failedCount": 0, "status": "SUCCESS", "errors": [] }
Error Codes
Reason | Code | Description |
---|---|---|
Cancelled by customer/seller | CR401 | If orderId is cancelled |
Invalid orderId | CR422 | If orderId does not belong to the requested location |
Invalid request | CR400 | If packed request raised when current status is not dp_assigned |
Next Steps
- Courier details for channel shipping can be fetched from Fynd. Check out Courier Details endpoint
- Once order is packed, the customer invoice can be fetched using Customer Invoice endpoint
- Pre-dispatch, the shipping label can be fetched from Fynd using Shipping Label endpoint