Skip to content

Commit cdbdc20

Browse files
author
scrapebadger-bot
committed
chore: regenerate SDK from OpenAPI spec
1 parent df615ae commit cdbdc20

2 files changed

Lines changed: 70 additions & 36 deletions

File tree

docs/Api/EBayApi.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ try {
9696
## `ebayCompletedSoldListings()`
9797

9898
```php
99-
ebayCompletedSoldListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price): mixed
99+
ebayCompletedSoldListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price, $location): mixed
100100
```
101101

102102
Completed / sold listings
@@ -128,12 +128,13 @@ $category_id = 'category_id_example'; // string | Restrict to a category id
128128
$page = 1; // int
129129
$per_page = 56; // int | 60, 120 or 240
130130
$sort_by = 'best_match'; // string | best_match|ending_soonest|newly_listed|price_low_to_high|price_high_to_low
131-
$condition = 'condition_example'; // string | new|open_box|refurbished|used|for_parts
131+
$condition = 'condition_example'; // string | new|open_box|refurbished|used|for_parts|graded|ungraded
132132
$min_price = 3.4; // float
133133
$max_price = 3.4; // float
134+
$location = 'location_example'; // string | domestic|worldwide
134135

135136
try {
136-
$result = $apiInstance->ebayCompletedSoldListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price);
137+
$result = $apiInstance->ebayCompletedSoldListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $min_price, $max_price, $location);
137138
print_r($result);
138139
} catch (Exception $e) {
139140
echo 'Exception when calling EBayApi->ebayCompletedSoldListings: ', $e->getMessage(), PHP_EOL;
@@ -150,9 +151,10 @@ try {
150151
| **page** | **int**| | [optional] [default to 1] |
151152
| **per_page** | **int**| 60, 120 or 240 | [optional] |
152153
| **sort_by** | **string**| best_match|ending_soonest|newly_listed|price_low_to_high|price_high_to_low | [optional] [default to 'best_match'] |
153-
| **condition** | **string**| new|open_box|refurbished|used|for_parts | [optional] |
154+
| **condition** | **string**| new|open_box|refurbished|used|for_parts|graded|ungraded | [optional] |
154155
| **min_price** | **float**| | [optional] |
155156
| **max_price** | **float**| | [optional] |
157+
| **location** | **string**| domestic|worldwide | [optional] |
156158

157159
### Return type
158160

@@ -804,7 +806,7 @@ This endpoint does not need any parameter.
804806
## `ebaySearchListings()`
805807

806808
```php
807-
ebaySearchListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $buying_format, $min_price, $max_price, $free_shipping): mixed
809+
ebaySearchListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $buying_format, $min_price, $max_price, $free_shipping, $location): mixed
808810
```
809811

810812
Search listings
@@ -836,14 +838,15 @@ $category_id = 'category_id_example'; // string | Restrict to a category id
836838
$page = 1; // int
837839
$per_page = 56; // int | 60, 120 or 240
838840
$sort_by = 'best_match'; // string | best_match|ending_soonest|newly_listed|price_low_to_high|price_high_to_low
839-
$condition = 'condition_example'; // string | new|open_box|refurbished|used|for_parts
841+
$condition = 'condition_example'; // string | new|open_box|refurbished|used|for_parts|graded|ungraded
840842
$buying_format = 'buying_format_example'; // string | auction|buy_it_now|best_offer
841843
$min_price = 3.4; // float
842844
$max_price = 3.4; // float
843845
$free_shipping = false; // bool
846+
$location = 'location_example'; // string | domestic|worldwide
844847

845848
try {
846-
$result = $apiInstance->ebaySearchListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $buying_format, $min_price, $max_price, $free_shipping);
849+
$result = $apiInstance->ebaySearchListings($query, $domain, $category_id, $page, $per_page, $sort_by, $condition, $buying_format, $min_price, $max_price, $free_shipping, $location);
847850
print_r($result);
848851
} catch (Exception $e) {
849852
echo 'Exception when calling EBayApi->ebaySearchListings: ', $e->getMessage(), PHP_EOL;
@@ -860,11 +863,12 @@ try {
860863
| **page** | **int**| | [optional] [default to 1] |
861864
| **per_page** | **int**| 60, 120 or 240 | [optional] |
862865
| **sort_by** | **string**| best_match|ending_soonest|newly_listed|price_low_to_high|price_high_to_low | [optional] [default to 'best_match'] |
863-
| **condition** | **string**| new|open_box|refurbished|used|for_parts | [optional] |
866+
| **condition** | **string**| new|open_box|refurbished|used|for_parts|graded|ungraded | [optional] |
864867
| **buying_format** | **string**| auction|buy_it_now|best_offer | [optional] |
865868
| **min_price** | **float**| | [optional] |
866869
| **max_price** | **float**| | [optional] |
867870
| **free_shipping** | **bool**| | [optional] [default to false] |
871+
| **location** | **string**| domestic|worldwide | [optional] |
868872

869873
### Return type
870874

0 commit comments

Comments
 (0)