Catalog Connector Files
Download a file by ID
Use this endpoint to retrieve the URL used to download a previously processed file. You can then make a GET request with this URL to retrieve the products data in CSV or JSONL format. <Note> The download link is valid for five minutes. </Note>
get/catalog-connector-files/actions/download
Request
- Base URLhttps://api.fabric.inc/v3
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/fabric/apis/catalog-connector/docs/catalog-connector-files/actions/download/get.tsA function with typed inputs. Its response is checked against the schema.
Query parameters
fileIdstring required
A 24-character system-generated file ID.
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
Response
OK
Example response
{
"location": "https://pim-v3-dev02-us-east-1-files.s3.us-east-1.amazonaws.com/local/PRODUCT_EXPORT/abc.csv?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=AKIARD6W3CJ53CEYXKIJ%252F20230317%252Fus-east-1%252Fs3%252Faws4_request&X-Amz-Date=20230317T171516Z&X-Amz-Expires=300&X-Amz-Signature=f7069f25d72ac10f2163a134550cd68658de7a23d9960dc61ebaa67c8f54eb77&X-Amz-SignedHeaders=host&x-id=GetObject"
}Changes
No recorded changes to this operation across all 1 revision of this API.