Batch create or update variant prices
Creates or updates multiple prices for a product variant across different markets within a store group in a single request.
PUT
/api/v1/{team_slug}/{app_slug}/products/{product_id}/variants/{variant_id}/prices-batchAuthorization
AuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
Path parameters
variant_idstringrequiredVariant ID
app_slugstringrequiredApp slug
team_slugstringrequiredTeam slug
product_idstringrequiredRequest body
requiredapplication/jsonBatch price data with store group and array of market prices
dont_update_price_if_on_salebooleanUsed to prevent overwriting price if on_sale.
pricesinternal_pkg_webserver_v1.BatchPrice[]requiredShow propertiesHide properties
Array of
internal_pkg_webserver_v1.BatchPriceamount_cents_with_taxintegermin 0
market_slugstringrequiredon_salebooleanreference_price_with_taxintegermin 0
sale_end_timestampstringsale_price_with_taxintegermin 0
sale_start_timestampstringstatusgithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceStatusrequiredAllowed:
activeinactivedraftstore_group_slugstringrequiredResponses
200
List of created or updated prices with store group and market details
datagithub_com_enadhq_nabbit_internal_pkg_webserver_models.ProductVariantPriceWithStoreGroup[]requiredShow propertiesHide properties
Array of
github_com_enadhq_nabbit_internal_pkg_webserver_models.ProductVariantPriceWithStoreGroupamount_cents_with_taxintegercreated_atstringidstringmarketgithub_com_enadhq_nabbit_internal_pkg_webserver_models.MarketShow propertiesHide properties
activebooleancountry_codesstring[] | nullcreated_atstringcurrency_codestringidstringlocalestringnamestringslugstringupdated_atstring | nullon_salebooleanreference_price_with_taxinteger | nullsale_end_timestampstring | nullsale_price_with_taxinteger | nullsale_start_timestampstring | nullstatusgithub_com_enadhq_nabbit_internal_pkg_webserver_models.PriceStatusAllowed:
activeinactivedraftstore_groupgithub_com_enadhq_nabbit_internal_pkg_webserver_models.StoreGroupShow propertiesHide properties
country_of_salestring | nullcreated_atstringdescriptionstringidstringnamestringslugstringstore_typestringupdated_atstring | nullupdated_atstring | nulldetailsstring[]Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes
successbooleanrequired400
Invalid request (e.g. bad UUID, validation error)
detailsstring[]messagestringsuccessbooleanrequired401
Unauthorized access
detailsstring[]messagestringsuccessbooleanrequired500
Internal server error
detailsstring[]messagestringsuccessbooleanrequired