jdsports.co.uk
Add a product to the JD Sports cart
Inputs
product requiredA JD Sports product id as Search JD Sports products returns it, for example 19760893, or a jdsports.co.uk product page link.
size optionalThe size as the product page writes it, for example M or 9. Leave it out for a product with one size, or pass offerId instead.
offerId optionalThe sku of the size, from the variants of Get JD Sports product.
quantity optionalHow many units to add.
Default: 1Output
name requiredsize requiredadded requiredUnits this run added.
count requiredUnits in the bag after the add.
lines requiredtotal requiredTotal of the bag with promotions applied, delivery not chosen.
offerId requiredThe sku of the size added.
currency requiredsubtotal requiredproductId required