Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Documentation is still being updated. Some content maybe unfinished.
cURL
curl --request GET \ --url {protocol}://{host}/wp-json/cocart/v1/customer
{ "user": { "ID": 123, "first_name": "<string>", "last_name": "<string>" }, "billing": { "first_name": "<string>", "last_name": "<string>", "company": "<string>", "email": "<string>", "phone": "<string>", "country": "<string>", "state": "<string>", "postcode": "<string>", "city": "<string>", "address": "<string>", "address_1": "<string>", "address_2": "<string>" }, "shipping": { "first_name": "<string>", "last_name": "<string>", "company": "<string>", "country": "<string>", "state": "<string>", "postcode": "<string>", "city": "<string>", "address": "<string>", "address_1": "<string>", "address_2": "<string>" }, "has_calculated_shipping": true, "is_vat_exempt": "<string>" }
Retrieve customer details associated with the cart.
Cart owner details retrieved successfully.
Show child attributes
Was this page helpful?