Catalog Connector Files
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.
post/catalog-connector-files
Request
- Base URLhttps://api.fabric.inc/v3
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
x-fabric-tenant-idstring required
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.
x-fabric-request-idstring
Unique request ID
Request body
Example request
{
"type": "CATALOG_CONN_ITEM_VARIANT_IMPORT",
"name": "bulk_import_123345677788999.csv",
"locale": "en-US",
"formatType": "jsonl"
}Response
OK
Example response
{
"id": "857f1f77bcf86cd799439054",
"type": "CATALOG_CONN_ITEM_VARIANT_IMPORT",
"name": "bulk_import_123345677788999.csv",
"locale": "en-US",
"formatType": "jsonl",
"createdAt": "2021-09-14T22:10:30.618Z",
"updatedBy": "test@email.com",
"updatedAt": "2021-09-14T22:10:30.618Z",
"location": "https://s3.console.aws.amazon.com/s3/buckets/greatwall-stg01-bulk-import-pim/bulk_import_123345677788999.csv"
}Changes
No recorded changes to this operation across all 1 revision of this API.