Access unit_price and unit_price_measurement via REST API

Solved
tipserstore
Tourist
4 0 3

Price Per Unit is an exclusive feature implemented for France and Germany.
https://help.shopify.com/en/manual/intro-to-shopify/initial-setup/sell-in-germany/price-per-unit

https://help.shopify.com/en/manual/intro-to-shopify/initial-setup/sell-in-france/price-per-unit

I went through guideless ^ and was able to define the unit price via the user interface. Now, I want to download these data via REST API. Is it accessible there? Precisely,  is a price per unit (unit_price and unit_price_measurement) exposed via REST API or GraphQL? I can't see it as a variant property.

Replies 32 (32)
HunkyBill
Shopify Expert
4610 54 531

Never minding the sensibilities of European guidance here, this feature should have been rolled out to Shopify in general a decade ago. I have hundreds of merchants in my inbox that have contacted me since 2007 asking for unit pricing and sales on everything from welcome mats at the front door to the usual picture frames and signs on vinyl.

This issue has been ignored since inception, as being too niche for the effort required to overcome the mods to Shopify in general. Hopefully the newly minted CTO takes on the challenge and we all get unit pricing and sales sooner rather than later, with support from the API to maintain the values needed.

Custom Shopify Apps built just for you! hunkybill@gmail.com http://www.resistorsoftware.com
Benja-Moreno
New Member
2 0 0

Hi Gabe, 

Thank you for looking into this. It is an issue that has made me turn in circles looking for a no code solution. 

To describe the issue briefly, it is the need to bulk update the "unit pricing measure" and the "unit pricing base measure" for product variants to be able to comply with the EU Directive 2019/2161 that requires the selling price and the unit price of all products offered by traders to consumers, to be clearly indicated in order to improve consumer information and to enable price comparisons. This is product information that is also available through Google's "Content API for Shopping" and is a requirement in some areas to get approval for google shopping.

The legal requirements for european merchants are described shortly if you follow this link: What is the aim of the directive?
This link shows the EU directive with details about the 4% fine on yearly turnover in case of failing to comply: Directive (EU) 2019/2161 of the European Parliament

From Google Merchant Help Center: 

Use the unit pricing measure [unit_pricing_measure] attribute to define the measure and dimension of your product. This value allows users to understand the exact cost per unit for your product.

These are the requirements you'll need to meet to show your product. If you don't follow these requirements, we'll disapprove your product and let you know in the Diagnostics page in your Merchant Center account.

https://support.google.com/merchants/answer/6324455?hl=en&ref_topic=6324338 

https://developers.google.com/shopping-content/reference/rest/v2.1/products#productunitpricingmeasur...

Benja-Moreno
New Member
2 0 0

Hi, to describe it briefly, I guess it would be the need to bulk update the "unit pricing measure" and the "unit pricing base measure" for product variants to be able to comply with the EU Directive 2019/2161 that requires the selling price and the unit price of all products offered by traders to consumers, to be clearly indicated in order to improve consumer information and to enable price comparisons. This is product information that is also available through Google's "Content API for Shopping" and is a requirement in some areas to get approval from google shopping.

The legal requirements for european merchants are described shortly if you follow this link: What is the aim of the directive?
This link shows the EU directive with details about the 4% fine on yearly turnover in case of failing to comply: Directive (EU) 2019/2161 of the European Parliament

From Google Merchant Help Center: 

Use the unit pricing measure [unit_pricing_measure] attribute to define the measure and dimension of your product. This value allows users to understand the exact cost per unit for your product.

These are the requirements you'll need to meet to show your product. If you don't follow these requirements, we'll disapprove your product and let you know in the Diagnostics page in your Merchant Center account.

https://support.google.com/merchants/answer/6324455?hl=en&ref_topic=6324338 

https://developers.google.com/shopping-content/reference/rest/v2.1/products#productunitpricingmeasur...