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.
"517fa9dfd42d8b00g1o3k312"
Unique request ID
"263e731c-45c8-11ed-b878-0242ac120002"
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
"ITEM_VARIANT_EXPORT"
File name
"bulk_import_123345677788999.csv"
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.
"en-US"
Response
24-character system-generated file ID
"337f1f77bcf86cd799439011"
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
"ITEM_VARIANT_EXPORT"
File name to be uploaded to the generated URL
"bulk_import_123345677788999.csv"
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.
"en-US"
S3 file location of the uploaded file.
"https://s3.console.aws.amazon.com/s3/buckets/greatwall-stg01-bulk-import-pim/bulk_import_123345677788999.csv"
File creation time (UTC)
"2021-09-14T22:10:30.618Z"
Email of user who last updated the file
"test@email.com"
Time of last update to file (UTC)
"2021-09-14T22:10:30.618Z"
Was this page helpful?