public function MailchimpEcommerce::getCartLine in Mailchimp 8
Get information about a specific cart line item.
Parameters
string $store_id: The unique identifier for the store.
string $cart_id: The unique identifier for the cart.
string $line_id: The unique identifier for the line item of a cart.
array $parameters: Associative array of optional request parameters.
Return value
object The API cart line response object.
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/ecommer...
File
- lib/
mailchimp-api-php/ src/ MailchimpEcommerce.php, line 299
Class
- MailchimpEcommerce
- Mailchimp Ecommerce library.
Namespace
MailchimpCode
public function getCartLine($store_id, $cart_id, $line_id, $parameters = []) {
$tokens = [
'store_id' => $store_id,
'cart_id' => $cart_id,
'line_id' => $line_id,
];
return $this
->request('GET', '/ecommerce/stores/{store_id}/carts/{cart_id}/lines/{line_id}', $tokens, $parameters);
}