public function MailchimpEcommerce::getOrderLines in Mailchimp 8
Get information about an order's line items.
Parameters
string $store_id: The ID of the store.
string $order_id: The ID of the order.
array $parameters: An array of optional parameters. See API docs.
Return value
object The API order line response object.
Throws
\Mailchimp\MailchimpAPIException
See also
http://developer.mailchimp.com/documentation/mailchimp/reference/ecommer...
File
- lib/
mailchimp-api-php/ src/ MailchimpEcommerce.php, line 676
Class
- MailchimpEcommerce
- Mailchimp Ecommerce library.
Namespace
MailchimpCode
public function getOrderLines($store_id, $order_id, $parameters = []) {
$tokens = [
'store_id' => $store_id,
'order_id' => $order_id,
];
return $this
->request('GET', '/ecommerce/stores/{store_id}/orders/{order_id}/lines', $tokens, $parameters);
}