Get my order
GET
/api/website/me/orders/{id}
const url = 'https://api.petanqueai.com/api/website/me/orders/example';const options = { method: 'GET', headers: { 'x-storefront-token': '<x-storefront-token>', 'x-customer-session': '<x-customer-session>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.petanqueai.com/api/website/me/orders/example \ --header 'x-customer-session: <x-customer-session>' \ --header 'x-storefront-token: <x-storefront-token>'One of the shopper’s own orders in full: lines, delivery and billing address, and shipment. Someone else’s order answers 404.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string