getOrderShippingPdf function
Future<ApiResponse<Object?> >
getOrderShippingPdf(
- ExsitedClient client,
- Object orderId,
- Object shippingLineId, {
- bool? raiseOnError,
- String? responseFormat,
GET /api/{api_version}/orders/{order_id}/shipping_pdf/{shipping_line_id}
A shipping line's PDF; 404 until the line has a generated shipping PDF.
No typed view: no 2xx response was recorded for it. Read response.map.
Implementation
Future<ApiResponse<Object?>> getOrderShippingPdf(
ExsitedClient client,
Object orderId,
Object shippingLineId, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendGetRequest(OrdersUrls.orderShippingPdf,
pathParams: {'order_id': orderId, 'shipping_line_id': shippingLineId},
raiseOnError: raiseOnError,
responseFormat: responseFormat);