Viewrium Docs
HTTP referenceProducts

Delete products

DELETE/v1/products

Deletes up to 100 products by ids. Answers 200 with each id's outcome: affected, not_found, or forbidden.

Query Parameters

ids*array<>

The products to delete, 1 to 100. Repeat the parameter or separate the ids with commas.

Items1 <= items <= 100

Response Body

application/json

application/json

curl -X DELETE "https://example.com/v1/products?ids=497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "affected": [    "4fa450be-f7f9-4947-9cd8-45f559412bd8"  ],  "not_found": [    "42d097e8-23d9-4b4b-9d40-4c593308d98f"  ],  "forbidden": [    "f09f22a4-960f-4de7-bfb1-fbb0befa8bdd"  ]}
{  "error": {    "code": "string",    "message": "string",    "details": null  }}