Skip to content

Commit

Permalink
Added order query ship on date ability
Browse files Browse the repository at this point in the history
  • Loading branch information
perrytew committed Mar 17, 2021
1 parent 1c2c97f commit 878daef
Show file tree
Hide file tree
Showing 7 changed files with 134 additions and 16 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,7 @@ Not every change is committed to every SDK.

| Version | Date | Comments |
| --: | :-: | --- |
| 3.1.18 | 03/17/2021 | Added order query by ship on date |
| 3.1.17 | 03/17/2021 | New coupon - percent off MSRP item |
| 3.1.16 | 03/16/2021 | screen recording filter page parameter names |
| 3.1.15 | 03/15/2021 | fix response from deleteScreenRecordingSegment that should have been void |
Expand Down
8 changes: 6 additions & 2 deletions docs/Api/OrderApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)

# **getOrders**
> \ultracart\v2\models\OrdersResponse getOrders($order_id, $payment_method, $company, $first_name, $last_name, $city, $state_region, $postal_code, $country_code, $phone, $email, $cc_email, $total, $screen_branding_theme_code, $storefront_host_name, $creation_date_begin, $creation_date_end, $payment_date_begin, $payment_date_end, $shipment_date_begin, $shipment_date_end, $rma, $purchase_order_number, $item_id, $current_stage, $channel_partner_code, $channel_partner_order_id, $customer_profile_oid, $refund_date_begin, $refund_date_end, $custom_field_1, $custom_field_2, $custom_field_3, $custom_field_4, $custom_field_5, $custom_field_6, $custom_field_7, $_limit, $_offset, $_sort, $_expand)
> \ultracart\v2\models\OrdersResponse getOrders($order_id, $payment_method, $company, $first_name, $last_name, $city, $state_region, $postal_code, $country_code, $phone, $email, $cc_email, $total, $screen_branding_theme_code, $storefront_host_name, $creation_date_begin, $creation_date_end, $payment_date_begin, $payment_date_end, $shipment_date_begin, $shipment_date_end, $rma, $purchase_order_number, $item_id, $current_stage, $channel_partner_code, $channel_partner_order_id, $customer_profile_oid, $refund_date_begin, $refund_date_end, $custom_field_1, $custom_field_2, $custom_field_3, $custom_field_4, $custom_field_5, $custom_field_6, $custom_field_7, $ship_on_date_begin, $ship_on_date_end, $_limit, $_offset, $_sort, $_expand)
Retrieve orders

Expand Down Expand Up @@ -516,13 +516,15 @@ $custom_field_4 = "custom_field_4_example"; // string |
$custom_field_5 = "custom_field_5_example"; // string |
$custom_field_6 = "custom_field_6_example"; // string |
$custom_field_7 = "custom_field_7_example"; // string |
$ship_on_date_begin = "ship_on_date_begin_example"; // string |
$ship_on_date_end = "ship_on_date_end_example"; // string |
$_limit = 100; // int | The maximum number of records to return on this one API call. (Maximum 200)
$_offset = 0; // int | Pagination of the record set. Offset is a zero based index.
$_sort = "_sort_example"; // string | The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
$_expand = "_expand_example"; // string | The object expansion to perform on the result.

try {
$result = $apiInstance->getOrders($order_id, $payment_method, $company, $first_name, $last_name, $city, $state_region, $postal_code, $country_code, $phone, $email, $cc_email, $total, $screen_branding_theme_code, $storefront_host_name, $creation_date_begin, $creation_date_end, $payment_date_begin, $payment_date_end, $shipment_date_begin, $shipment_date_end, $rma, $purchase_order_number, $item_id, $current_stage, $channel_partner_code, $channel_partner_order_id, $customer_profile_oid, $refund_date_begin, $refund_date_end, $custom_field_1, $custom_field_2, $custom_field_3, $custom_field_4, $custom_field_5, $custom_field_6, $custom_field_7, $_limit, $_offset, $_sort, $_expand);
$result = $apiInstance->getOrders($order_id, $payment_method, $company, $first_name, $last_name, $city, $state_region, $postal_code, $country_code, $phone, $email, $cc_email, $total, $screen_branding_theme_code, $storefront_host_name, $creation_date_begin, $creation_date_end, $payment_date_begin, $payment_date_end, $shipment_date_begin, $shipment_date_end, $rma, $purchase_order_number, $item_id, $current_stage, $channel_partner_code, $channel_partner_order_id, $customer_profile_oid, $refund_date_begin, $refund_date_end, $custom_field_1, $custom_field_2, $custom_field_3, $custom_field_4, $custom_field_5, $custom_field_6, $custom_field_7, $ship_on_date_begin, $ship_on_date_end, $_limit, $_offset, $_sort, $_expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderApi->getOrders: ', $e->getMessage(), PHP_EOL;
Expand Down Expand Up @@ -571,6 +573,8 @@ Name | Type | Description | Notes
**custom_field_5** | **string**| | [optional]
**custom_field_6** | **string**| | [optional]
**custom_field_7** | **string**| | [optional]
**ship_on_date_begin** | **string**| | [optional]
**ship_on_date_end** | **string**| | [optional]
**_limit** | **int**| The maximum number of records to return on this one API call. (Maximum 200) | [optional] [default to 100]
**_offset** | **int**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
**_sort** | **string**| The sort order of the orders. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
Expand Down
4 changes: 3 additions & 1 deletion docs/Model/OrderQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ Name | Type | Description | Notes
**refund_date_end** | **string** | Date/time that the order was refunded | [optional]
**rma** | **string** | RMA number | [optional]
**screen_branding_theme_code** | **string** | Screen branding theme code associated with the order (legacy checkout) | [optional]
**shipment_date_begin** | **string** | Date/time that the order was shipping | [optional]
**shipment_date_begin** | **string** | Date/time that the order was shipped | [optional]
**shipment_date_end** | **string** | Date/time that the order was shipped | [optional]
**shipped_on_date_begin** | **string** | Date/time that the order should ship on | [optional]
**shipped_on_date_end** | **string** | Date/time that the order should ship on | [optional]
**state_region** | **string** | State for United States otherwise region or province for other countries | [optional]
**storefront_host_name** | **string** | StoreFront host name associated with the order | [optional]
**total** | **float** | Total | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/Model/TaxJarConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
**estimate_only** | **bool** | True if this TaxJar configuration is to estimate taxes only and not report placed orders to TaxJar | [optional]
**send_outside_nexus** | **bool** | Send orders outside your nexus TaxJar. The default is to not transmit outside orders to TaxJar to reduce API calls. However, this will prevent TaxJar from dynamically creating new Nexus when thresholds are exceeded for a state. | [optional]
**send_test_orders** | **bool** | Send test orders through to TaxJar. The default is to not transmit test orders to TaxJar. | [optional]
**skip_channel_orders** | **bool** | Do not send channel partner orders to TaxJar. Set this to true if your channel partner reports tax on their own. | [optional]
**use_distribution_center_from** | **bool** | Use distribution center from address | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down

0 comments on commit 878daef

Please sign in to comment.