Commerce
commerceConfirmCart
Confirm Amazon Order
Render the inline Amazon order-confirmation card for one product the user chose.
Arguments
asinstringrequiredThe ASIN of the product to confirm (from a commerceFindItem result). Required, so do NOT invent it.quantityintegeroptionalHow many units to pre-load in the cart. Defaults to 1. The human confirms and checks out on Amazon.
Returns
On success the output is { success: true, product, addToCartUrl, quantity, disclosure }; otherwise it returns a typed status (zero_match for an unknown ASIN: re-run commerceFindItem: or…
Declared limits
quantity: minimum 1quantity: maximum 30
Ask for it
The Cloud routes these requests to this verb.
- the user picking an option after 'order this'
- yes order that one
- add the skillet to my cart
Pair it with
The verbs that finish the job.