Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
My accessToken has all the permissions that I can give in shopify settings.
1. GET request is working and we are able to get order details, curl --location 'https://{storeName).myshopify.com/admin/api/2023-07/orders/{orderId}.json' \
--header 'X-Shopify-Access-Token: {accessToken}' \
--header 'Content-Type: application/json'
2. However cancel order request is giving 404, curl --location 'https://{storeName}.myshopify.com/admin/api/2023-07/orders/{orderId}/cancel.json' \ --header 'X-Shopify-Access-Token:{accessToken}' \ --header 'Content-Type: application/json' \ --header 'Cookie: request_method=POST' \ --data '{}'
RESPONSE: { "errors": "Not Found" }
3. PUT Request to update address is also giving same error - https://${shopifyStore}/admin/api/2023-07/orders/${orderId}.json
Pls suggest how to fix these issues.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025