You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are calling a cart API, for example GET /v1/carts/cart_ABC123, we could validate that the hash ID provided in the request starts with cart_ as a fast way to prevent 422 errors from being thrown by the API.
Each "feature" in Commerce.js should come with its own methods for verifying expected hash IDs.
The text was updated successfully, but these errors were encountered:
If you are calling a cart API, for example
GET /v1/carts/cart_ABC123
, we could validate that the hash ID provided in the request starts withcart_
as a fast way to prevent 422 errors from being thrown by the API.Each "feature" in Commerce.js should come with its own methods for verifying expected hash IDs.
The text was updated successfully, but these errors were encountered: