Place a test purchase
Changed onCompletes the checkout as a no-charge test order, as an admin of the account. Nothing is charged and Stripe is not called. The order is created with livemode: false and sends the same order.paid webhook a real sale sends, with livemode: false, so a site can test its order handling end to end. Crevio's receipt goes to the admin placing the order, not to a contact. A checkout can be completed once, and an account can place 5 test purchases a minute. A waitlist checkout places no order: it returns the waitlist_entry with livemode: false, and approving it places the test order.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Request body
Name on the test order. Defaults to the admin's name.
Phone number on the test order, in E.164 format.
Response
Test order created, or the test waitlist entry for a waitlist checkout
Changes
- info
added the required property
oneOf[#/components/schemas/Order]/line_items/items/price_variant/oneOf[#/components/schemas/PriceVariant]/cross_sellsto the response with the status - info
added the required property
oneOf[#/components/schemas/Order]/line_items/items/product/oneOf[#/components/schemas/Product]/price_variants/items/cross_sellsto the response with the status - info
added the required property
oneOf[#/components/schemas/Order]/line_items/items/product/oneOf[#/components/schemas/Product]/tax_codeto the response with the status
- info