What's your biggest current challenge? Have your say in Community Polls along the right column.

How to assign PriceList to a Company through API

How to assign PriceList to a Company through API

surajit1
Shopify Partner
9 0 2

I want to add PriceList in a Company (B2B) through API. 

Please advise

Replies 3 (3)

SynapseIndia_S
Shopify Partner
7 1 4

Hi @surajit1 , You can create a custom app in shopify and can use the Shopify Products API to fetch the Product Prices ad share it through API.

URL: https://shopify.dev/api/admin-rest/2022-10/resources/product#get-products

surajit1
Shopify Partner
9 0 2

We are able to Create Company through GraphQL API (https://shopify.dev/api/admin-graphql/2022-10/mutations/companyCreate) and we add PriceList through Shopify Admin UI, but we want to add PriceList in a Company thorugh API (if any). please advise.

emalueg
Shopify Partner
18 0 5

Have you found any more information about assigning price lists to companies/locations via API?  We are running into the same issue, and there doesn't seem to be any recorded response as to how to use the API to assign a price list.