Skip to main content
POST
/
admin
/
sellers
/
{id}
/
address
curl -X POST 'http://localhost:9000/admin/sellers/sel_01HXYZABCDEF/address' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{
    "address_1": "123 Market St",
    "city": "San Francisco",
    "country_code": "us",
    "postal_code": "94103"
  }'
{
  "seller": {
    "id": "sel_01HXYZABCDEF",
    "name": "Acme",
    "status": "open",
    "address": {
      "address_1": "123 Market St",
      "city": "San Francisco",
      "country_code": "us",
      "postal_code": "94103"
    },
    "updated_at": "2026-06-12T10:30:00.000Z"
  }
}
Creates the seller’s address if none exists, otherwise updates it.

Path parameters

id
string
required
The seller’s ID.

Query parameters

fields
string
Comma-separated list of fields to include, prefix with +/- to add or remove from defaults.

Body parameters

name
string
Label for the address.
company
string
Company name.
first_name
string
First name of the contact person.
last_name
string
Last name of the contact person.
address_1
string
First address line.
address_2
string
Second address line.
city
string
City.
country_code
string
Two-letter ISO country code.
province
string
Province or state.
postal_code
string
Postal code.
phone
string
Phone number for the address.
metadata
object
Custom key-value data.
additional_data
object
Extra data passed to workflow hooks.

Response

seller
object
curl -X POST 'http://localhost:9000/admin/sellers/sel_01HXYZABCDEF/address' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{
    "address_1": "123 Market St",
    "city": "San Francisco",
    "country_code": "us",
    "postal_code": "94103"
  }'
{
  "seller": {
    "id": "sel_01HXYZABCDEF",
    "name": "Acme",
    "status": "open",
    "address": {
      "address_1": "123 Market St",
      "city": "San Francisco",
      "country_code": "us",
      "postal_code": "94103"
    },
    "updated_at": "2026-06-12T10:30:00.000Z"
  }
}