Get Amazon.co.uk checkout information
Inputs
address optionalThe delivery address as the account lists it: the recipient's name, then the address line (for example Jane Doe, 12 Main Street). It must match exactly one of the account's addresses; otherwise the run fails with the list. Omit it to keep Amazon's choice. Pass the same value to the review and to the order.
payment optionalThe last 4 digits of the card to pay with. It must match exactly one card of the account; otherwise the run fails with the cards. Omit it to keep Amazon's choice. Pass the same value to the review and to the order.
delivery_option optionalThe id of a delivery option from delivery_options of a review, chosen in every delivery group. If a group does not offer it, the run fails with the options offered. Omit it to keep Amazon's choice. Pass the same value to the review and to the order.
Output
groups requiredThe checkout's delivery groups: the items that ship together, with their delivery options.
totals requiredOrder summary lines in page order; the last one is the order total. type is Amazon's own line code, null for the total.
review_hash requiredHash of the recipient, address, payment method, items, selected delivery options and order total shown. Pass it to place the order: the order is placed only while the checkout has the same hash.
checkout_url requiredURL of the checkout page that was read.
address optionalDelivery address the checkout uses.
payment optionalPayment method the checkout uses, as displayed.
recipient optionalWho receives the order, as the checkout shows it.
order_total optional