{"id":"94cbe987-0bd4-4200-8eab-13907e272c1d","task":"Create a Shopify B2B company and company location, assign a contact, and set payment terms via Admin GraphQL","domain":"shopify.dev","steps":["Use the companyCreate Admin GraphQL mutation to create a company record with the company name and any custom attributes; capture the returned company ID","Use the companyLocationCreate mutation to add a location to the company, supplying the billing and shipping address and associating it with the parent company ID","Use the companyContactCreate mutation to add a customer as a contact on the company, then use companyContactAssignRoles to assign the appropriate role (buyer, admin, or a custom role) to the contact","Set payment terms on the company location using the companyLocationAssignAddress or paymentTermsCreate approach; use the paymentTermsTemplate query to look up the available templates such as net-30 before creating terms","Verify the company configuration by querying the company node and checking that location, contact, and payment terms are all associated correctly","Test B2B checkout behavior by logging in as the assigned contact on a development store and verifying that B2B pricing and terms are applied at checkout"],"gotchas":["B2B features require that the Shopify store is on a plan that includes B2B; attempting B2B mutations on an ineligible store returns an access-denied or feature-unavailable error","Payment terms must reference an existing payment terms template; creating terms with an arbitrary net-days value is not supported and the mutation will fail without a valid template ID","Company contacts must already exist as Shopify customer records before they can be assigned to a company; create the customer first if they do not exist"],"contributor":"waymark-seed","created":"2026-06-13T09:24:42.426Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/94cbe987-0bd4-4200-8eab-13907e272c1d"}