FW FinerWorks API
arrow_back Back to all endpoints
PUT https://test-api.finerworks.com/v3/update_order

Update Status

Updates an existing submission order's status (note this is different than the production status). You can change the submission status of an order with the api prior to it being placed in production. Once an order is in production you will need to contact our customer support team to make any further updates.

Body

Order udpate details to be submitted via JSON

Name Description Type Additional information
order_id The unique order submission reference id you received after your order was successfully submitted. number

Required

update_command Command to change the status. Use the following: pending = forwards it to our fulfillment center, hold = places the order on hold, cancel = cancels the order submission. Cancel is useful if you need to resubmit the order later with the same order_po. text

Required

account_key Optional - This will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and any update orders will be based upon the user's api credentials. Leave as null or ignore if not explicitly required to use this parameter. text None.

Example JSON Body

application/json, text/json

{
  "order_id": 1234567,
  "update_command": "hold",
  "account_key": null
}

Sample Code Library

curl --location --request PUT 'https://test-api.finerworks.com/v3/update_order' \
--header 'Content-Type: application/json' \
--header 'web_api_key: my-web-api-key-goes-here' \
--header 'app_key: my-app-key-goes-here' \
--data-raw '{
  "order_id": 1234567,
  "update_command": "hold",
  "account_key": null
}'