GET
/
v1
/
retailers
/
{retailer_id}
/
fabric
/
{fabric_id}
/
templates
curl --request GET \
  --url https://marketplace-api.fabric.inc/v1/retailers/{retailer_id}/fabric/{fabric_id}/templates/ \
  --header 'Authorization: Bearer <token>'
{
  "id": 16,
  "name": "production template",
  "code": "production template",
  "description": "Template for product and variant attributes in fabric PIM for the connected account of production staff",
  "direction": "export",
  "data_type": "products",
  "template_mappings": [
    {
      "template list": "response"
    }
  ],
  "created_at": "2025-03-10T15:24:56Z"
}

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.

Response

200 - application/json
Ok
name
string
required

The name of the template.

Maximum length: 64
Example:

"production template"

code
string
required

An alternative internal name for the template.

Maximum length: 32
Example:

"production template"

description
string | null
required

A description for the template.

Required string length: 1 - 256
Example:

"Template for product and variant attributes in fabric PIM for the connected account of production staff"

id
integer

The unique identifier for the template.

Example:

16

direction
enum<string> | null

Indicates if the template is for imports or exports.

Available options:
import,
export
Example:

"export"

data_type
enum<string> | null

Describes what kind of data is contained within the template.

Available options:
products,
inventory
Example:

"products"

template_mappings
string

An array displaying all the template mappings for the specified template.

Example:
[{ "template list": "response" }]
created_at
string

The time of creation in UTC format

Example:

"2025-03-10T15:24:56Z"