How to assign PriceList to a Company through API

Topic summary

The discussion centers on assigning price lists to B2B companies using Shopify’s API rather than through the admin UI.

Current Challenge:

  • Users can successfully create companies via the GraphQL API (companyCreate mutation)
  • They can add price lists manually through Shopify’s Admin UI
  • However, no clear API method exists to programmatically assign price lists to companies or locations

Attempted Solutions:

  • One suggestion involved using Shopify’s Products REST API to fetch product prices and share via API, though this doesn’t directly address price list assignment

Status:

  • The issue remains unresolved
  • Multiple users are encountering the same problem
  • No documented API responses or solutions have been found for this specific use case
Summarized with AI on November 22. AI used: claude-sonnet-4-5-20250929.

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.