All things Shopify and commerce
Hi,
I'm experiencing an error 404 when I try to request to my API to insert a customer.
const client = new Shopify.Clients.Rest(session.shop, session.accessToken);
const data = await client.post({
path: 'customers',
data: { "customer": customerJson },
type: DataType.JSON,
});
The customerJson variable contains the Customer object reported at @HTTPS://shopify.dev/api/admin-rest/2022-01/resources/customer#resource_object. I'm using October21 API Version and I'm sure that the sintax is correct because the same code works for products.
This is my log:
Received an error response (404 Not Found) from Shopify: "Not Found" If you report this error, please include this id: 2fcde470-1814-44bf-ba94-d4c2e07cef22
Does someone know how to fix?
Hey Manni497
Check out this youtube tutorial
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024