POST

https://prod01-apigw.{customer_name}.fabric.zone

/
api-price
/
price

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

x-api-key
string
required

The x-api-key enables you to access fabric APIs without Authorization. You must request fabric Inc to obtain this key.<br /> Authorization header is required if x-api-key is omitted.

Body

application/json

Price Insert Object.

priceListId
required

The Pricelist Id or name.

itemIds
number[]
required

A list of one or more identifiers of the items to be created.

offers
object[]
required

A list of the offers to be added and its properties.

itemSkus
number[]

A list of Stock Keeping Units (SKUs) of the items to be created. If present, this array must have the same number of items as itemIds and each SKU will be associated with the ID in the same index.

Response

200 - application/json

Create Price Response

_id
string

Identifier

priceListId
number

Price List Identifier

isSoftDeleted
boolean

Has been soft deleted

itemId
number

Internal Item ID

itemSku
string

Product SKU

offerId
number

Offer ID

offers
object[]

Offers

createdAt
string

Date and time of creation

updatedAt
string

Date and time of updated

job
boolean

Job