Storefront Form Fields
Read form fields on BigCommerce-hosted storefronts. To work with headless storefronts, use the GraphQL Storefront API.
The REST Storefront API uses CORS (opens in a new tab) headers for authentication, and therefore has no required scopes. You do not need to send any BigCommerce-specific tokens with your requests to these endpoints.
For info about authenticating BigCommerce APIs, see Authentication and Example Requests.
Get Form Fields
GET https://yourstore.example.com/api/storefront/form-fieldsRequest
Parameters
- store_domain in path - string
- filter in query - arrayType: array[string]
Allowed: customerAccount | shippingAddress | billingAddress
example
Response
Returns an object with form fields groups.
Body
object | application/json
Group of form field groups
customerAccountarray[object]
List of form fields for the groupshippingAddressarray[object]
List of form fields for the groupbillingAddressarray[object]
List of form fields for the group
example
See something you can improve? Edit this file on GitHub
Did you find what you were looking for?