Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

add/cart shopify api

jQuery.post('/cart/add.js', {
  items: [
    {
      quantity: 1,
      id: 794864229,
      properties: {
        'First name': 'Caroline'
      }
    }
  ]
});
Source by shopify.dev #
 
PREVIOUS NEXT
Tagged: #shopify #api
ADD COMMENT
Topic
Name
9+9 =