Price Lists
⚠️ Deprecated Endpoint
This endpoint is deprecated and will no longer be maintained. For all new developments, use Products > Price Lists V2, which introduces:
- an updated management of markets and catalogs
- automatic retrieval of Price List ID and Currency Code from Shopify
- differentiated price update rules between base price lists and markets
👉 See the new documentation: Price Lists V2
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/yourShopifyStore/settings/markets/123456789 )
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
}
]
}
Destination configuration
Configure a Shopify destination and associate it with the flow, in addition to the basic data flow configuration.
| Field | Value | Notes |
|---|---|---|
Destination Type | Shopify | |
Operation | [DEPRECATED] - Price sync | POST /egress/sync-price-to-shopify |
GraphQL endpoint URL | https://SHOPIFYURL.myshopify.com/ | Shopify Admin API GraphQL endpoint URL |
Admin API access token | shpat_CODICEALFANUMERICO | Or Client ID (API key) + Client secret — see Authentication |
Client ID (API key) | YOUR_CLIENT_ID | |
Client secret | YOUR_CLIENT_SECRET |
Deprecated — previous configuration (HTTP Adapter)
Configuration via HTTP Adapter with Base Url, Resource Path, and x-api-key header in Settings Override is deprecated. Use the Shopify destination configuration described above.
In addition to the basic data flow configuration the following Settings Override settings were required:
| Field | Value | Note |
|---|---|---|
Base Url | https://adapter.flowlyze.io | 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 |