Place order
Submit a checkout order from the storefront. This is the primary checkout endpoint used by the frontend.
Authorization
cookieAuth wordpress_logged_in<token>
WordPress cookie authentication for same-origin requests. Requires a valid nonce passed via X-WP-Nonce header.
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://your-site.com/wp-json/fluent-cart/v2/checkout/place-order" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": "validation_error",
"message": "The given data was invalid.",
"data": {
"status": 422
}
}