Skip to main content
DELETE
/
inventories
/
{productVariantId}
/
{locationId}
Delete Inventory
curl --request DELETE \
  --url https://api.loopreturns.com/api/v1/inventories/{productVariantId}/{locationId} \
  --header 'X-Authorization: <api-key>'
{
  "product_variant_id": 123,
  "location_id": 123,
  "success": true
}

Authorizations

X-Authorization
string
header
required

API Scope: "Inventory (read)"

Path Parameters

productVariantId
integer
required

The unique identifier for the product variant, created by Loop.

Example:

653985747439023600

locationId
integer
required

The unique identifier for the location, created by Loop.

Example:

631923350119788400

Response

Success

product_variant_id
integer<int64>

The unique identifier for the product variant, created by Loop.

Example:

674353902539857400

location_id
integer<int64>

The identifier used by an external source to identify the product variant.

Example:

"ex4mpl3-pr0duct-v4r14nt"

success
boolean