arrow_back Back to all endpoints
PUT https://test-api.finerworks.com/v3/disconnect_virtual_inventory

Disconnect Virtual Inventory

Updates ALL virtual inventory items by removing the 3rd party platform data specified in the request. To update SINGLE virtual inventory items, use the update_virtual_inventory endpoint instead.

Body

Name Description Type Additional information
platform Name of platform to be disconnected (i.e., woocommerce, shopify, etsy, etc) 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 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

{
  "platform": "sample string 1",
  "account_key": "sample string 2"
}

Sample Code Library

curl --location --request PUT 'https://test-api.finerworks.com/v3/disconnect_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 '{
  "platform": "sample string 1",
  "account_key": "sample string 2"
}'