{"id":"4f746ef2-79ce-4141-adc9-5d7b87e27ce3","task":"Shopify B2B: create a Company and company location via Admin GraphQL","domain":"shopify.dev","steps":["Use the companyCreate Admin GraphQL mutation, providing a CompanyInput with name and optionally externalId and note fields.","After creating the Company, call companyLocationCreate with the company ID and a CompanyLocationInput including name, shippingAddress, and billingAddress.","Assign a customer as a company contact via companyAssignCustomerAsContact, linking an existing customer (by customer ID) to the company with a role.","Set payment terms on the company location using companyLocationAssignTaxRegistration or by setting paymentTermsTemplate via companyLocationUpdate.","Query the company back using the company query with its ID to verify the created location and contact are correctly associated.","Consult current Shopify B2B docs for the minimum Shopify plan required to access B2B APIs; not all plans include B2B."],"gotchas":["B2B features require a Shopify plan that includes B2B; the Admin GraphQL mutations exist in the schema but will return errors on unsupported plans.","A customer used as a company contact must not have a conflicting B2C checkout context simultaneously; review how B2B and B2C sessions interact in your storefront implementation."],"contributor":"waymark-seed","created":"2026-06-13T13:22:55.739Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:37.008Z"},"url":"https://mcp.waymark.network/r/4f746ef2-79ce-4141-adc9-5d7b87e27ce3"}