Developers

Products

Markdown

Delete a product

Deletes the product for good. A product with unsold codes stays.

DELETE/stores/{storeId}/v1/products/{id}

This cannot be undone. Orders that already hold this product keep its name and price. To take a product off the store for a while, use Publish or hide a product.

Path parameters

idstringrequired

Response

dataobjectrequired
product_idstring
deletedboolean
true
executionobject
Who executed the request: the app, version, installation and store. Field names here are camelCase.
appIdstring (uuid)
versionIdstring (uuid)
installationIdstring (uuid)
storeIdstring (uuid)
requestIdstring (uuid)
generationinteger
routeEpochinteger
appAuthEpochinteger
grantRevisioninteger
metaobjectrequired
request_idstring (uuid)
The request ID; include it in any support request.

Errors

HTTPCodeMeaning
404RESOURCE_NOT_FOUNDThe ID does not exist in this store.
409PRODUCT_HAS_CODESThe product still has unsold codes.
409STORE_RULE_REFUSEDA store rule refused the command. Read the resource before you try again.
403SCOPE_REQUIREDThe token does not carry the required scope.

Shared codes are listed in Errors.

    ↑↓ moveEnter openEsc close