Delete Product Gallery Item
API operation: Open the endpoint in Scalar
Use DELETE /business/{business_id}/categories/{category_id}/products/{product_id}/gallery/{gallery_id} to delete one product gallery item. The operation documented here is ProductGallery.delete.
The final path parameter gallery_id identifies the gallery item under the specified business, category, and product.
The documented schema restricts deletion to administrators and business managers and validates that the gallery item belongs to the specified product hierarchy. Resolve every ID before sending this destructive request.
OpenAPI reference
Operation: DELETE /business/{business_id}/categories/{category_id}/products/{product_id}/gallery/{gallery_id}
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
business_id | integer | Yes | — |
category_id | integer | Yes | — |
product_id | integer | Yes | — |
gallery_id | integer | Yes | — |
Responses
| Code | Description |
|---|---|
| 200 | OK (Envelope) |
| 400 | Bad Request (ErrorResponse) |
| 401 | Unauthorized |
| 404 | Not Found |
| 429 | Too Many Requests (ErrorResponse) |
| 500 | Internal Server Error (ErrorResponse) |
| 503 | Service Unavailable (ErrorResponse) |