DELETE
/
v1
/
retailers
/
{retailer_id}
/
fabric
/
{fabric_id}
/
templates
/
{id}
curl --request DELETE \
  --url https://marketplace-api.fabric.inc/v1/retailers/{retailer_id}/fabric/{fabric_id}/templates/{id}/ \
  --header 'Authorization: Bearer <token>'
{
  "message": "Template Deleted."
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

retailer_id
integer
required

The unique retailer ID. In the Dropship UI this is called the Merchant ID. To find your Merchant ID, click your merchant name in the top nav.

Example:

1001

fabric_id
integer
required

This ID maps to your Platform Account ID. To find this ID login to Dropship and click Merchant Settings > Integrations. In the options field, select configuration. The fabric Settings page is displayed with your Platform Account ID.

id
integer
required

The unique template identifier.

Response

204 - application/json
Template deleted

No response body is returned.

message
string

Returns a 204 response indicating the template was successfully deleted.

Example:

"Template Deleted."