Greg_C Posted April 1, 2022 Share Posted April 1, 2022 Is it possible to change the status of an order to "CANCELED" or "PENDING" using the commerce API? The documentation shows how to change it to "FULFILLED" (below) but not "CANCELED" or "PENDING". POST https://api.squarespace.com/{api-version}/commerce/orders/{id}/fulfillments Link to comment
Alexander_SQSP Posted April 6, 2022 Share Posted April 6, 2022 Hello @Greg_C, Thanks for posting your question! Cancelled orders can not be un-cancelled as per our documentation . With that said, our API allows you to mark an order from "Pending" to "Fulfilled". Let me know if you have any other questions! paul2009 1 Build together: Together, we make up a community of Squarespace professionals. Lean on your fellow community members for support and welcome diverse perspectives. Work in progress: Trust that we are all working for the collective good of Circle members and their clients. Keep it light mode: Balance productivity with joyful creativity and curiosity. Link to comment
Greg_C Posted April 7, 2022 Author Share Posted April 7, 2022 Is it possible to cancel an order that is in "Pending" status using the API? Link to comment
Alexander_SQSP Posted April 18, 2022 Share Posted April 18, 2022 Hello @Greg_C, It isn't possible to cancel a pending order via our API. You can only create or fulfill an order. Let me know if you have any other questions! Thanks, Alex Build together: Together, we make up a community of Squarespace professionals. Lean on your fellow community members for support and welcome diverse perspectives. Work in progress: Trust that we are all working for the collective good of Circle members and their clients. Keep it light mode: Balance productivity with joyful creativity and curiosity. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment