POST
/
product-templates
/
actions
/
generate
curl --request POST \
  --url https://api.fabric.inc/v3/product-templates/actions/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "ATTRIBUTE"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

S2S access token (JWT) from fabric Identity service (during login)

Headers

x-fabric-tenant-id
string

A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.

Example:

"517fa9dfd42d8b00g1o3k312"

x-fabric-request-id
string

Unique request ID

Example:

"263e731c-45c8-11ed-b878-0242ac120002"

Body

application/json

Template request

Response

200
text/csv
OK

The response is of type file.