Skip to main content
DELETE
/
api
/
product-types
/
{key}
Delete Product Type
curl --request DELETE \
  --url https://api.merchantops.ai/api/product-types/{key}
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Headers

authorization
string | null
X-Organization-ID
string | null

Path Parameters

key
string
required

Query Parameters

hard
boolean
default:false

Permanently delete (cannot be undone)

Cookies

stytch_session
string | null

Response

Successful Response