Skip to main content
POST
/
api-pim
/
item
/
upload-url
Generate URL to bulk upload price details
curl --request POST \
  --url https://live.copilot.fabric.inc/api-pim/item/upload-url \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-site-context: <x-site-context>' \
  --data '{
  "fileName": "file1.csv",
  "type": "price"
}'
{
  "url": "https://example.s3.amazonaws.com/pricelist/123/dev02/123-priceList1.csv?X-Amz-Algorithm...x-amz-meta-stage=dev02",
  "keyId": "1646680518524-priceList1"
}

Authorizations

Authorization
string
header
required

Headers

x-site-context
string
required
Example:

Body

application/json
fileName
string
Example:
type
Available options:
price,
price-range,
price-range-sku
Example:

Response

url
string
Example:
keyId
string
Example: