Price Lists
Price list update structure. Mandatory fields:
- sku
- price
optional fields are:
- compareAtPrice: base list price
- marketId: market ID for price lists (if not present, the main market will be updated)
On Shopify the market ID is the last number present in the market page URL (e.g: https://admin.shopify.com/store/puro-testing/settings/markets/83005178131 )
Updating Main Price List Prices
To update the main price list prices (i.e. the main market), two modes are available:
- Update at product level (without providing the Market ID): if the main market ID is not provided, the price update occurs directly at product level. The new price will be visible by directly accessing the product page, such price will be visible in all markets, if not "customized".
- Update at price list level (providing the main market ID): if the main market ID is provided, the update occurs at price list level for that market. The new price will be visible in market settings, accessing the path Settings > Markets > [Market Name] > Product and price (e.g. Italy)
If a price is updated both without providing the market ID (at product level) and by providing it (at price list level), the price that will be displayed in the store (e.g. Online store of the main market) is the one configured in market settings.
Structure
{
"data":[
//Update base price list
{
"sku": "FS-03-1",
"price": 182.00,
"compareAtPrice": 200.00
},
{
"sku": "FS-03-2",
"price": 183.00
},
//Update Switzerland market price list
{
"sku": "FS-03-1",
"marketId": "83005178131",
"price": 190.00,
"compareAtPrice": 200.00
},
{
"sku": "FS-03-2",
"marketId": "83005178131",
"price": 191.00
}
]
}
Price flow configurations
In addition to the base data flow configurations
add the following settings in Settings Override:
| Field | Value | Note |
|---|---|---|
Base Url | https://adapt.flowlyze.com | adapter URL |
Resource Path | /api/adp/shopify/egress/sync-price-to-shopify | adapter path for price lists |
Headers :: x-api-key | ********** | API key for endpoint interaction verification |
Headers :: x-shopify-graphql-url | https://SHOPIFYURL.myshopify.com/ | Shopify shop URL to connect to |
Headers :: x-shopify-access-token | shpat_CODICEALFANUMERICO | secret of the custom app created for integration |