public function MailchimpEcommerce::getCarts in Mailchimp 8
Get information about a store’s carts.
Parameters
array $store_id: The ID of the store where the carts exist.
array $parameters: Associative array of optional request parameters.
Return value
object The API cart response object.
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/ecommer...
File
- lib/
mailchimp-api-php/ src/ MailchimpEcommerce.php, line 140
Class
- MailchimpEcommerce
- Mailchimp Ecommerce library.
Namespace
MailchimpCode
public function getCarts($store_id, $parameters = []) {
$tokens = [
'store_id' => $store_id,
];
return $this
->request('GET', '/ecommerce/stores/{store_id}/carts', $tokens, $parameters);
}