Checkout Billing Address
Add Checkout Billing Address
POST https://api.bigcommerce.com/stores/{store_hash}/v3/checkouts/{checkoutId}/billing-addressRequest
Adds a billing address to an existing checkout.
Required Fields
- country_code
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
Body
object | application/json
first_namestring
last_namestring
emailstring
requiredcompanystring
address1string
address2string
citystring
state_or_provincestring
Represents state or province.
state_or_province_codestring
country_codestring
requiredpostal_codestring
phonestring
custom_fieldsarray[object]
You can retrieve custom fields from the Get Form Fields endpoint.
example
Response
Body
object | application/json
dataobject
example
Update Checkout Billing Address
PUT https://api.bigcommerce.com/stores/{store_hash}/v3/checkouts/{checkoutId}/billing-address/{addressId}Request
Updates an existing billing address on a checkout.
Authentication
- X-Auth-Token in headerrequired
Parameters
- store_hash in path - string
- addressId in path - integerrequired
Body
object | application/json
first_namestring
last_namestring
emailstring
requiredcompanystring
address1string
address2string
citystring
state_or_provincestring
Represents state or province.
state_or_province_codestring
country_codestring
requiredpostal_codestring
phonestring
custom_fieldsarray[object]
You can retrieve custom fields from the Get Form Fields endpoint.
example
Response
Body
object | application/json
dataobject
example
Did you find what you were looking for?