Skip to content

Commit

Permalink
sort screen recordings by favorite flag
Browse files Browse the repository at this point in the history
  • Loading branch information
perrytew committed Mar 15, 2021
1 parent 08dbbfb commit f6b6152
Show file tree
Hide file tree
Showing 7 changed files with 347 additions and 14 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ Not every change is committed to every SDK.

| Version | Date | Comments |
| --: | :-: | --- |
| 3.1.14 | 03/15/2021 | sort screen recordings by favorite flag |
| 3.1.13 | 03/02/2021 | new webhook order_payment_failed |
| 3.1.12 | 02/25/2021 | added screen recording visitor_first_seen property |
| 3.1.11 | 02/24/2021 | Added Screen recording visitor number |
Expand Down
18 changes: 16 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, $_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, $_limit, $_offset, $_sort, $_expand)
Retrieve orders

Expand Down Expand Up @@ -509,13 +509,20 @@ $channel_partner_order_id = "channel_partner_order_id_example"; // string | Chan
$customer_profile_oid = 56; // int |
$refund_date_begin = "refund_date_begin_example"; // string |
$refund_date_end = "refund_date_end_example"; // string |
$custom_field_1 = "custom_field_1_example"; // string |
$custom_field_2 = "custom_field_2_example"; // string |
$custom_field_3 = "custom_field_3_example"; // string |
$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 |
$_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, $_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, $_limit, $_offset, $_sort, $_expand);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling OrderApi->getOrders: ', $e->getMessage(), PHP_EOL;
Expand Down Expand Up @@ -557,6 +564,13 @@ Name | Type | Description | Notes
**customer_profile_oid** | **int**| | [optional]
**refund_date_begin** | **string**| | [optional]
**refund_date_end** | **string**| | [optional]
**custom_field_1** | **string**| | [optional]
**custom_field_2** | **string**| | [optional]
**custom_field_3** | **string**| | [optional]
**custom_field_4** | **string**| | [optional]
**custom_field_5** | **string**| | [optional]
**custom_field_6** | **string**| | [optional]
**custom_field_7** | **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
1 change: 1 addition & 0 deletions docs/Model/EmailCommseqEmail.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Name | Type | Description | Notes
**smart_sending** | **bool** | Smart sending | [optional]
**storefront_oid** | **int** | Storefront oid | [optional]
**subject** | **string** | Subject | [optional]
**suspended_for_spam** | **bool** | True if the email was suspended for too high of a spam rate. | [optional]
**transactional_email** | **bool** | Transactional email | [optional]
**version** | **int** | Version | [optional]

Expand Down
7 changes: 7 additions & 0 deletions docs/Model/OrderQuery.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ Name | Type | Description | Notes
**creation_date_begin** | **string** | Date/time that the order was created | [optional]
**creation_date_end** | **string** | Date/time that the order was created | [optional]
**current_stage** | **string** | Current stage that the order is in. | [optional]
**custom_field_1** | **string** | Custom field 1 | [optional]
**custom_field_2** | **string** | Custom field 2 | [optional]
**custom_field_3** | **string** | Custom field 3 | [optional]
**custom_field_4** | **string** | Custom field 4 | [optional]
**custom_field_5** | **string** | Custom field 5 | [optional]
**custom_field_6** | **string** | Custom field 6 | [optional]
**custom_field_7** | **string** | Custom field 7 | [optional]
**customer_profile_oid** | **int** | The customer profile to find associated orders for | [optional]
**email** | **string** | Email | [optional]
**first_name** | **string** | First name | [optional]
Expand Down

0 comments on commit f6b6152

Please sign in to comment.