Create a file object and retrieve the file upload URL
Use this endpoint to retrieve the URL of the AWS S3 location to upload the file that you want to import to the Catalog Connector.
Authorizations
This is the authorization token used to authenticate the request. You must pass the access token generated from the system app. For more information, see the Making your first API request section.
Headers
A header retrieved from your Copilot Account Details that's used by the API to identify the tenant making the request. Tenant ID must be included in the authentication header for API requests to access any of fabric’s endpoints.
Unique request ID
Body
A sample request to create a file object and retrieve the upload URL to import products to the Catalog Connector.
Specify the type of operation or job performed by uploading the file.
CATALOG_CONN_ITEM_VARIANT_IMPORT
, CATALOG_CONN_ITEM_VARIANT_EXPORT
, CATALOG_CONN_BUNDLE_IMPORT
, CATALOG_CONN_BUNDLE_EXPORT
The name of the file to be imported.
The language code, which is a combination of language (ISO 639 format) and country (ISO 3166 format).
The default value is en-US
.
Specify the file format used to upload to Catalog Connector.
csv
, jsonl
Response
The details of the file.
A 24-character system-generated file ID.
Specify the type of operation or job performed by uploading the file.
CATALOG_CONN_ITEM_VARIANT_IMPORT
, CATALOG_CONN_ITEM_VARIANT_EXPORT
, CATALOG_CONN_BUNDLE_IMPORT
, CATALOG_CONN_BUNDLE_EXPORT
The name of the file name to be uploaded to the AWS S3 location.
The language code, which is a combination of language (ISO 639 format) and country (ISO 3166 format).
The default value is en-US
.
Specify the file format used to upload to Catalog Connector.
csv
, jsonl
The time of file creation, in UTC format.
The email of the user who last updated the file.
The time of last update to the file, in UTC format.
The AWS S3 file location of the imported file is provided as a URL.
Was this page helpful?