arrow_back Back to all endpoints
POST https://test-api.finerworks.com/v3/delete_pending_orders

Delete Pending Orders

Removes orders from the temporary storage table.

Body

Name Description Type Additional information
ids List of ids associated with pending orders array (number)

Required

account_key Optional - This assigns orders by account_key. Note, this will only be accepted for accounts with permission to utilize this parameter, otherwise it will be ignored and virtual inventory will be updated based upon the user's api credentials. Leave as null if not authorized to use this parameter. text None.

Example JSON Body

application/json, text/json

{
  "ids": [
    1,
    2
  ],
  "account_key": "sample string 1"
}

Sample Code Library

curl --location --request POST 'https://test-api.finerworks.com/v3/delete_pending_orders' \
--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 '{
  "ids": [
    1,
    2
  ],
  "account_key": "sample string 1"
}'