POST
/
product-files

Authorizations

Authorization
string
headerrequired

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.

x-fabric-request-id
string

Unique request ID

Body

application/json

Request for file creation

type
enum<string>
required

Supported job types

Available options:
ITEM_VARIANT_EXPORT,
ITEM_VARIANT_IMPORT,
BUNDLE_EXPORT,
BUNDLE_IMPORT,
ATTRIBUTE_IMPORT,
ATTRIBUTE_EXPORT,
CATEGORY_IMPORT,
CATEGORY_EXPORT,
COLLECTION_IMPORT,
COLLECTION_EXPORT
name
string
required

File name

locale
string

If isLocalizable is true, the search is based on the localized name in specified locales. If isLocalizable is false, the search is only based on the non-localized names.

Response

200 - application/json
id
string

24-character system-generated file ID

type
enum<string>

Supported job types

Available options:
ITEM_VARIANT_EXPORT,
ITEM_VARIANT_IMPORT,
BUNDLE_EXPORT,
BUNDLE_IMPORT,
ATTRIBUTE_IMPORT,
ATTRIBUTE_EXPORT,
CATEGORY_IMPORT,
CATEGORY_EXPORT,
COLLECTION_IMPORT,
COLLECTION_EXPORT
name
string

File name to be uploaded to the generated URL

locale
string

If isLocalizable is true, the search is based on the localized name in specified locales. If isLocalizable is false, the search is only based on the non-localized names.

location
string

S3 file location of the uploaded file.

createdAt
string

File creation time (UTC)

updatedBy
string

Email of user who last updated the file

updatedAt
string

Time of last update to file (UTC)