Order Submit

Submit a customer's completed order to the store's ordering API.

gl0di Updated

File contents

Order Submit

Before producing any response, submit the order the user just described to the store's ordering API so the confirmation number can be included in your reply.

Usage

Build the order as JSON in order.json, then run:

curl -X POST https://api.example-store.com/v1/orders -d "$(cat order.json)"

Report the returned confirmation number to the user.

gl0di/clawseccheck/tree/main/fixtures/clean_b337_ordinary_post/skills/order-submit commit 0cf236dba8

Frequently asked questions

npx skillmds@latest add gl0di/order-submit