arrow_back Back to all endpoints
DELETE https://test-api.finerworks.com/v3/delete_virtual_inventory

Delete Virtual Inventory

Deletes virtual inventory products. Note that if any of these items are synced with products on a 3rd party platform, those products will no longer be connected to FinerWorks.

Body

Name Description Type Additional information
skus array (text)

Required

account_key Optional - This updates virtual inventory 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 retrieved 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

{
  "skus": [
    "AP0001P0001",
    "AP0001P0002",
    "AP0001P0003",
    "AP0001P0004"
  ],
  "account_key": null
}

Sample Code Library

curl --location --request DELETE 'https://test-api.finerworks.com/v3/delete_virtual_inventory' \
--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 '{
  "skus": [
    "AP0001P0001",
    "AP0001P0002",
    "AP0001P0003",
    "AP0001P0004"
  ],
  "account_key": null
}'