This endpoint allows you to update an existing fulfilment order. Depending on the current order status, some fields may not be modifiable.
For example:
- If the order is already out for delivery, the shipping address cannot be changed.
- If the order has been picked and packed, modifications to products are no longer possible.
- Orders that are cancelled or completed cannot be updated.
- Updating the shipping address before the order is dispatched.
- Modifying payment details before dispatched.
- Adjusting product quantities before fulfilment begins.
- Cancelling an order if it has not yet been picked and packed.
Security
OAuth2
Optional: Used to specify which carrier should handle the delivery
Optional: Used for international shipments to define delivery terms
For updates, products can include additional fields to override catalog values
Enum:"partner_next_day""partner_same_day""partner_4hr""partner_export""partner_store""partner_return"
- Mock serverhttps://developer-docs.quiqup.com/_mock/openapi/api/fulfilment/orders/{id}
- Productionhttps://platform-api.quiqup.com/api/fulfilment/orders/{id}
- Staginghttps://platform-api.staging.quiqup.com/api/fulfilment/orders/{id}
curl -i -X PATCH \
'https://developer-docs.quiqup.com/_mock/openapi/api/fulfilment/orders/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"billing_address": {
"address1": "string",
"address2": "string",
"city": "string",
"coordinate": {
"latitude": 0,
"longitude": 0
},
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"ksa_national_address": "string",
"last_name": "string",
"name": "string",
"notes": "string",
"phone": "string",
"postcode": "string",
"state": "string"
},
"carrier": "string",
"incoterm": "string",
"origin_address": {
"address1": "string",
"address2": "string",
"city": "string",
"coordinate": {
"latitude": 0,
"longitude": 0
},
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"ksa_national_address": "string",
"last_name": "string",
"name": "string",
"notes": "string",
"phone": "string",
"postcode": "string",
"state": "string"
},
"payment_amount": 0,
"payment_mode": "pre_paid",
"products": [
{
"barcode": "string",
"country_of_origin": "string",
"dangerous_goods": true,
"dimensions": {
"height": 0,
"length": 0,
"unit": "string",
"width": 0
},
"hs_code": "string",
"quantity": 0,
"selling_price": 0,
"sku": "string",
"weight": 0,
"weight_unit": "string"
}
],
"service_kind": "partner_next_day",
"shipping_address": {
"address1": "string",
"address2": "string",
"city": "string",
"coordinate": {
"latitude": 0,
"longitude": 0
},
"country": "string",
"country_code": "string",
"email": "string",
"first_name": "string",
"ksa_national_address": "string",
"last_name": "string",
"name": "string",
"notes": "string",
"phone": "string",
"postcode": "string",
"state": "string"
},
"status": "string"
}'Success response
Possible values: leave_at_door, customer_identification_photo
Items Value:"customer_identification_photo"
referencesArray of objects(External identifiers attached to the order at creation (label/value pairs).
)
Echoes back whatever was sent in the create request's `references`.
Possible values: partner_next_day, partner_same_day, partner_4hr, partner_export, partner_store
Enum:"pending""ready_for_collection""picking_started""out_for_collection""out_for_return""at_depot""received_at_depot""in_transit""out_for_delivery""collection_failed"
Response
{ "billing_address": { "address1": "string", "address2": "string", "city": "string", "coordinate": { … }, "country": "string", "country_code": "string", "created_at": "2019-08-24T14:15:22Z", "email": "string", "first_name": "string", "ksa_national_address": "string", "last_name": "string", "name": "string", "notes": "string", "phone": "string", "postcode": "string", "state": "string", "updated_at": "2019-08-24T14:15:22Z" }, "carrier": "string", "created_at": "2019-08-24T14:15:22Z", "currency": "string", "delivery_options": [ "customer_identification_photo" ], "errors": [ { … } ], "id": "string", "incoterm": "string", "initial_order_id": "string", "is_return": true, "notes": "string", "origin_address": { "address1": "string", "address2": "string", "city": "string", "coordinate": { … }, "country": "string", "country_code": "string", "created_at": "2019-08-24T14:15:22Z", "email": "string", "first_name": "string", "ksa_national_address": "string", "last_name": "string", "name": "string", "notes": "string", "phone": "string", "postcode": "string", "state": "string", "updated_at": "2019-08-24T14:15:22Z" }, "parcels": [ { … } ], "partner_order_id": "string", "payment_amount": 0, "payment_mode": "pre_paid", "picking_order_created": true, "products": [ { … } ], "references": [ { … } ], "service_kind": "string", "shipping_address": { "address1": "string", "address2": "string", "city": "string", "coordinate": { … }, "country": "string", "country_code": "string", "created_at": "2019-08-24T14:15:22Z", "email": "string", "first_name": "string", "ksa_national_address": "string", "last_name": "string", "name": "string", "notes": "string", "phone": "string", "postcode": "string", "state": "string", "updated_at": "2019-08-24T14:15:22Z" }, "status": "pending", "status_reason": "string", "tracking_url": "string", "tracking_url_advance": "string", "updated_at": "2019-08-24T14:15:22Z", "uuid": "string" }