Skip to main content
List the applications your customers submit, and approve them. An application is pending until you approve it, then approved. Archived customers don’t appear. Approving can also set the customer’s net terms and export the customer to Shopify, in one request.

Exporting to Shopify

Send export.shopify with as:
  • customer creates a Shopify customer, or links the one in shopify_customer_id.
  • company adds the applicant as a contact of a Shopify B2B company. The store needs B2B turned on.
A Shopify company is a customer group in Streamlined. With as: company, the group and company are chosen like this: A new company gets one location with the applicant’s addresses, tax exemption and net terms, and the applicant becomes its main contact. If the store has no matching payment terms, the company is created without terms and you get the net_terms_unsupported_in_shopify warning. Joining an existing company adds the applicant at one location and changes nothing else on the company. If the company has more than one location, send shopify_company_location_id.

Errors

If the approval succeeded but the export failed, the error includes "approved": true. Don’t approve again; retry the export as described below.

Retrying an export

Call approve again with the same export.shopify and no net_terms. Only the export runs, and it reuses the group and company from the first attempt, so it never creates duplicates.