curl --request POST \
--url https://storekit.samarthh.me/v1/store/{storeId}/billing \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "John",
"lastName": "Doe",
"addressLine1": "123 Main Street",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "USA",
"phone": "+1234567890",
"isDefault": true
}
'Create a new billing address for the authenticated store user. Requires store user authentication.
curl --request POST \
--url https://storekit.samarthh.me/v1/store/{storeId}/billing \
--header 'Content-Type: application/json' \
--data '
{
"firstName": "John",
"lastName": "Doe",
"addressLine1": "123 Main Street",
"city": "New York",
"state": "NY",
"postalCode": "10001",
"country": "USA",
"phone": "+1234567890",
"isDefault": true
}
'