Skip to main content

Create an address

POST 

/api/v1/addresses

Create an address

Request

Body

required

    data

    object

    type stringrequired

    Possible values: [addresses]

    attributes

    object

    name stringrequired
    city stringrequired
    country_code stringrequired
    post_code stringrequired
    street stringrequired
    street_number stringrequired
    address_line string
    notes string
    region_code string

    relationships

    object

    order

    object

    data

    object

    type string

    Possible values: [order]

    id string

    Related order ID

    user

    object

    data

    object

    type string

    Possible values: [user]

    id string

    Related user ID

Responses

Create an address

Schema

    any

Loading...