🔗Public APIs for Registration form (RF)
These REST APIs let you work with your wholesale registration flow: fetch form definitions, create wholesalers, filter registrants, and change approval status.
Requirements
Install the B2B/Wholesale Solution Shopify app
Get your Access Key from the app (see below)
🔑 Get the Access Key
Open the B2B/Wholesale Solution app in Shopify.
Go to Public API.
Click Copy to copy your accessKey.
Include it in the request body for endpoints that require it.
📄 Form Endpoints
Get a form by ID
Purpose Fetch form data only. Validation logic used on the storefront is not returned.
GET
https://b2b-solution-public-api.bsscommerce.com/api/v1/rf/form/:idPath Params
:id– Form ID
Response (example)
</details>
🧑💼 Wholesaler Endpoints
Create wholesaler
POST
Body
nameis the field ID in the form.valueis the submitted customer information.
Response
POST
Request Body Params
domain– your myshopify domainaccessKey– your access keystatus– status to filter (example below)start_date– start date (YYYY-MM-DD)end_date– end date (YYYY-MM-DD)
Example Request
Response (example)
Response (no results)
POST
Action Path Param
Replace
:actionwithapproveorreject
Important
You can only change status for accounts currently in PENDING status.
Request Body Params
domain– your myshopify domainaccessKey– your access keyemails– array of customer emails to update
Example Request
Response (approve with partial errors)
Response (reject)
Response (no results)
⚙️ Notes & Behavior
Form fetch returns the schema/fields only; it does not include storefront validation logic.
Status change endpoints operate only on PENDING accounts.
Some endpoints require
domainandaccessKeyin the request body (see examples above).
Last updated
Was this helpful?