bigcommerce-api-php
bigcommerce-api-php copied to clipboard
Cart data
I want to kno if it is possible to access the cart data through the App? I'm asking because i'm developing an app to read cart data. But whenever a press the button i get 401 error:
const fetchBigCommerceData = async () => { try { const response = await fetch( "https://api.bigcommerce.com/stores/aherf0o3nw/v3/carts/{CartId}", { headers: { "Accept" : "application/json", "Content-Type" : "application/json", "X-Auth-Token" : "4*****************************, "X-Auth-Client" : "a*****************************", }, mode: "no-cors", } );