Create file object and get file upload location
This endpoint creates a file object by specifying the import file’s type
, name
, and locale
in the request body. The response will include the URL location to upload the file.
Authorizations
S2S access token (JWT) from fabric Identity service (during login)
Headers
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.
Unique request ID
Body
Request for file creation
Supported job types
ITEM_VARIANT_EXPORT
, ITEM_VARIANT_IMPORT
, BUNDLE_EXPORT
, BUNDLE_IMPORT
, ATTRIBUTE_IMPORT
, ATTRIBUTE_EXPORT
, CATEGORY_IMPORT
, CATEGORY_EXPORT
, COLLECTION_IMPORT
, COLLECTION_EXPORT
File name
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
24-character system-generated file ID
Supported job types
ITEM_VARIANT_EXPORT
, ITEM_VARIANT_IMPORT
, BUNDLE_EXPORT
, BUNDLE_IMPORT
, ATTRIBUTE_IMPORT
, ATTRIBUTE_EXPORT
, CATEGORY_IMPORT
, CATEGORY_EXPORT
, COLLECTION_IMPORT
, COLLECTION_EXPORT
File name to be uploaded to the generated URL
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.
S3 file location of the uploaded file.
File creation time (UTC)
Email of user who last updated the file
Time of last update to file (UTC)
Was this page helpful?