Skip to content

Is there a way to create a new order through API without an API key? #4959

Discussion options

You must be logged in to vote

@forkata I think POST /orders is allowed even for non-authenticated users, see

post spree.api_orders_path, params: { order: attributes }
.

If that didn't work, it was maybe because of Spree::Api::Config.requires_authentication, which forces authentication on all endpoints?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@forkata
Comment options

Answer selected by forkata
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants