ProductsDelete a Product Brand

Delete a Product Brand

Deletes the product brand with this identifier. The request has no body. A product brand that is still assigned can be deleted: products assigned to the brand are kept. A brand created later with the same identifier is not assigned to those products. The identifier can be used again afterwards.

curl -X DELETE "https://connect.wholechain.com/Integration/Brand/BRAND-001" \
  -H "Content-Type: application/json" \
  -H "X-API-KEY: example_string" \
  -H "accept: */*"
{}
DELETE
/Integration/Brand/{identifier}
DELETE
Base URLstring

Target server for requests. Edit to use your own host.

path
identifierstring
Required

The identifier of the product brand to delete.

header
X-API-KEYstring
Required

Your Wholechain API key.

header
acceptstring

Response content type.

Options: */*
Request Preview
Response

Response will appear here after sending the request

Responses

Introduction

This API deletes a product brand from Wholechain.

Provide the identifier of the product brand in the URL path.


Endpoint

MethodURL
DELETEhttps://connect.wholechain.com/Integration/Brand/{identifier}

Request Headers

HeaderDescriptionExample Value
X-API-KEYYour Wholechain API key.<YOUR_API_KEY>
acceptResponse content type.*/*

Path Parameters

ParameterData TypeDescriptionRequired
identifierSTRINGThe identifier of the product brand to delete.Yes

This endpoint has no request body.


Example Request

DELETE https://connect.wholechain.com/Integration/Brand/BRAND-001
X-API-KEY: YOUR_API_KEY

cURL

curl -X 'DELETE' \
  'https://connect.wholechain.com/Integration/Brand/BRAND-001' \
  -H 'accept: */*' \
  -H 'X-API-KEY: YOUR_API_KEY'

Responses

204 — No Content

The product brand is deleted. The response has no body.

404 — Not Found

No product brand with this identifier exists, for example because it was already deleted.

{
  "type": "https://tools.ietf.org/html/rfc9110#section-15.5.5",
  "title": "Product brand not found: BRAND-001",
  "status": 404,
  "traceId": "<trace-id>"
}

Important Notes

  • The request has no body.
  • You can delete a product brand that is still assigned to products. The products are kept. A brand created later with the same identifier is not assigned to those products.
  • After a product brand is deleted, its identifier can be used again to create a new one.
  • To create a product brand, see Create a Product Brand.