put https://ingest.api.nacelle.com/v1/pricing
The pricing endpoint adds pricings to an index.
-
If an
indexIdfield is present, the entries will be added to that index. -
If an
indexIdis not specified the entries will be added to the current active index,
and all in progress indexes for the specifiedsourceId. -
An
entryTypeSourceIdMapmay be specified if thesourceVariantIdpoints to a data connector from a different source, such as Shopify.- The key being
PRODUCT_VARIANTand the value being the Nacelle source ID for the Shopify data connector found in the dashboard. - See the Standalone Price Books with Shopify Guide for details.
- The key being
-
An entry may contain
sourceSegmentId. This will allow multiple versions of a variant pricing for different segments or customer groups.- This should NOT be used by default, because pricings will not be queryable without a customer auth token pointing towards the given
sourceSegmentId. - See the Standalone Price Books for B2B Guide for details.
- This should NOT be used by default, because pricings will not be queryable without a customer auth token pointing towards the given
Required fields are sourceEntryId, sourcePriceBookId, and sourceVariantId.
