-
When you create a cart for a customer on the frontend, the API generates a checkout_id in the cart. Is there a way to verify this checkout_id on the backend? Our use case is that we need to send the cart to a serverless function to do some backend work, and we want to verify the cart on the function before proceeding. Verifying the checkout_id seems to be the best option. But, what backend API function can we use to verify the checkout_id that is accurate etc? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hello @osseonews, You could check that using the backend API by running Is there anything else I can help you with? |
Beta Was this translation helpful? Give feedback.
Hello @osseonews,
You could check that using the backend API by running
swell.get("/carts", {"checkout_id": "xyz"})
Is there anything else I can help you with?