Skip to content

Update an order ​

PATCH {base_url}/api/integration/orders/{id}.json

Only orders created through this API, while fulfillment_status is unfulfilled, on_hold, payment_awaiting or ready. Send only what changes:

Field
shipping_addressReplaces the whole address: send every field. option_ship must be valid.
skip_verify_addresstrue / false. Setting it back to false verifies the address again.
line_items[]id (the line's), system_sku and quantity (1–999) required; sku, title, note, designs replace the stored values — a line sent without note loses its note. Lines of a combo must be sent together with the same quantity.
bash
curl -X PATCH "{base_url}/api/integration/orders/f4a795d5-8c5b-4c33-a987-b5640f87857b.json" \
  -H "X-pawdo-access-token: $PAWDO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"shipping_address": {"name": "Jane Doe", "option_ship": "standard", "address1": "1600 Amphitheatre Pkwy", "address2": "Building 40", "city": "Mountain View", "state": "California", "province_code": "CA", "country": "United States", "country_code": "US", "postal_code": "94043", "email": "[email protected]", "phone": "+1 650-253-0000"}, "line_items": [{"id": "ea7e9a40-7aa4-47ca-aed0-7891401565e6", "system_sku": "QTN-S", "quantity": 2, "note": "two please"}]}'
json
{
  "message": "order updated",
  "status": true
}

Changed lines are pending until Pawdo has validated them again (a few seconds); an order that was ready goes back through validation and is charged later, at the new price.

HTTPmessageWhen
400a requested lineitem is pending for update, cannot be updatedA line you send is still being re-validated: wait a few seconds
400order cannot be updated in its current fulfillment statusThe order is charged, in production or cancelled
400validation error, detail in errore.g. validation failed: quantity must be greater than 0
400unsupported shipping option
400a requested lineitem is cancelled, cannot be updated
404order not found
409order was not created via APICreated by CSV, Shopify… — change it in the seller app
422invalid system sku: NOPE-SKUAlso: a combo line changed apart from its combo

If you have any questions about the API, please contact the Pawdo support team via Facebook.