docs/FulfillmentApi.md in ultracart_api-3.2.11 vs docs/FulfillmentApi.md in ultracart_api-3.2.12
- old
+ new
@@ -3,10 +3,11 @@
All URIs are relative to *https://secure.ultracart.com/rest/v2*
Method | HTTP request | Description
------------- | ------------- | -------------
[**acknowledge_orders**](FulfillmentApi.md#acknowledge_orders) | **PUT** /fulfillment/distribution_centers/{distribution_center_code}/acknowledgements | Acknowledge receipt of orders.
+[**generate_packing_slip**](FulfillmentApi.md#generate_packing_slip) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders/{order_id} | Generate a packing slip for this order for the given distribution center.
[**get_distribution_center_orders**](FulfillmentApi.md#get_distribution_center_orders) | **GET** /fulfillment/distribution_centers/{distribution_center_code}/orders | Retrieve orders queued up for this distribution center.
[**get_distribution_centers**](FulfillmentApi.md#get_distribution_centers) | **GET** /fulfillment/distribution_centers | Retrieve distribution centers
[**ship_orders**](FulfillmentApi.md#ship_orders) | **POST** /fulfillment/distribution_centers/{distribution_center_code}/shipments | Mark orders as shipped
[**update_inventory**](FulfillmentApi.md#update_inventory) | **POST** /fulfillment/distribution_centers/{distribution_center_code}/inventory | Update inventory
@@ -49,9 +50,62 @@
**order_ids** | **Array<String>**| Orders to acknowledge receipt of (limit 100) |
### Return type
nil (empty response body)
+
+### Authorization
+
+[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **generate_packing_slip**
+> OrdersResponse generate_packing_slip(distribution_center_code, order_id)
+
+Generate a packing slip for this order for the given distribution center.
+
+The packing slip PDF that is returned is base 64 encoded
+
+### Example
+```ruby
+# load the gem
+require 'ultracart_api'
+
+# Create a Simple Key: https://ultracart.atlassian.net/wiki/spaces/ucdoc/pages/38688545/API+Simple+Key
+simple_key = '109ee846ee69f50177018ab12f008a00748a25aa28dbdc0177018ab12f008a00'
+api_instance = UltracartClient::FulfillmentApi.new_using_api_key(simple_key, false, false)
+
+
+distribution_center_code = 'distribution_center_code_example' # String | Distribution center code
+
+order_id = 'order_id_example' # String | Order ID
+
+
+begin
+ #Generate a packing slip for this order for the given distribution center.
+ result = api_instance.generate_packing_slip(distribution_center_code, order_id)
+ p result
+rescue UltracartClient::ApiError => e
+ puts "Exception when calling FulfillmentApi->generate_packing_slip: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **distribution_center_code** | **String**| Distribution center code |
+ **order_id** | **String**| Order ID |
+
+### Return type
+
+[**OrdersResponse**](OrdersResponse.md)
### Authorization
[ultraCartOauth](../README.md#ultraCartOauth), [ultraCartSimpleApiKey](../README.md#ultraCartSimpleApiKey)