Add to Cart
add_to_cartFull Description
Use this to call internal cart services to create a cart for the customer. It will return a link to the cart that they can use to checkout with on the brand website. Just note that these links each will have a different reference id and, therefore, the customer will need to click on each one if this tool is used more than one time!
Parameters
customerEmailstringThe email of the customer
parentProductCodestringThe parent product code/part number of the product to create a new cart with.
variantProductCodestringThe variant product code/part number of the product to create a new cart with.
deliveryDatestringThe delivery date for the cart in format MM/DD/YYYY HH:MM:SS
greetingstringThe greeting to be used for the cart. Max 175 characters.
primaryBrandstringThe brand of the product to create a new cart with. Strict values include: 1800flowers, harryanddavid
1800flowersquantitystringThe quantity of the product to create a new cart with.
1recipientAddress1stringThe address line 1 of the recipient
recipientAddress2stringThe address line 2 of the recipient
recipientAddress3stringThe address line 3 of the recipient
recipientCitystringThe city of the recipient
recipientFirstNamestringThe first name of the recipient
recipientLastNamestringThe last name of the recipient
recipientLocationTypestringThe location type for the cart. Valid values are RESIDENCE or BUSINESS
recipientOrganizationNamestringThe organization name if it is a business location
recipientPhoneNumberstringThe phone number of the recipient
recipientRelationshipstringThe relationship of the recipient to the customer one of: client, colleague, family, other, friend, wife, husband, self, girlfriend, boyfriend, aunt, uncle, grandma, grandpa, sister, brother, daughter, son, dad, mom
recipientStatestringThe state of the recipient
recipientZipCodestringThe zip code of the recipient
session_idstringFrontend session ID for tracking user journey across frontend and backend