The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::MyCommerce::API::Resource::Carts

VERSION

version 1.0.1

SCHEMA

http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/14-schemas-cart

METHODS

new ($args)

Subclass Net::MyCommerce::API::Resource

request (%opts)

Subclass Net::MyCommerce::API::Resource::request

create_cart

Create a new cart

Examples:

  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/7-example-create-cart-simple-one-product
  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/21-example-create-cart-fill-in-shopper-information
  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/18-example-create-cart-affiliate
  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/35-example-create-shopping-cart-custom-fields
  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/36-example-create-shopping-cart-offers

add_item

Add a new item to an existing shopping cart

update_items

Add/modify one or more items in an existing shopping cart

Examples:

  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/20-example-update-cart-set-quantity

update_cart

Update shopping cart: one or more items, billing/shipping address, and/or coupon

remove_item

Remove an item from an existing shopping cart

get_cart

Retrieve an existing shopping cart

Examples:

  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/19-example-get-cart 
  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/38-example-get-shopping-cart-select-or-hide-fields

get_item

Retrieve a single item from an existing shopping cart

Examples:

  http://help.mycommerce.com/index.php/mycommerce-apis/cart-resource/19-example-get-cart