ReDoc documentation

carts/mine/billing-address

carts/mine/billing-address

get/V1/carts/mine/billing-address

Returns the billing address for a specified quote.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "id": 0,
  • "region": "string",
  • "region_id": 0,
  • "region_code": "string",
  • "country_id": "string",
  • "street": [
    ],
  • "company": "string",
  • "telephone": "string",
  • "fax": "string",
  • "postcode": "string",
  • "city": "string",
  • "firstname": "string",
  • "lastname": "string",
  • "middlename": "string",
  • "prefix": "string",
  • "suffix": "string",
  • "vat_id": "string",
  • "customer_id": 0,
  • "email": "string",
  • "same_as_billing": 0,
  • "customer_address_id": 0,
  • "save_in_address_book": 0,
  • "extension_attributes": {
    },
  • "custom_attributes": [
    ]
}

carts/mine/billing-address

post/V1/carts/mine/billing-address

Assigns a specified billing address to a specified cart.

Request
Request Body schema:
required
object (quote-data-address-interface)

Interface AddressInterface

useForShipping
boolean
Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "address": {
    },
  • "useForShipping": true
}
Response samples
0
0