Skip to content

Commit fbf7a10

Browse files
committed
Revert JSON-only content type changes
1 parent c271e5b commit fbf7a10

40 files changed

Lines changed: 112 additions & 115 deletions

docs/Apis/MP/CA/OrdersApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ See the [Authorization](../../../../README.md#authorization) section of the READ
163163
## `getAllOrders()`
164164

165165
```php
166-
getAllOrders($createdStartDate, $sku, $customerOrderId, $purchaseOrderId, $status, $createdEndDate, $fromExpectedShipDate, $toExpectedShipDate, $limit, $productInfo): \Walmart\Models\MP\CA\Orders\OrdersListType
166+
getAllOrders($createdStartDate, $sku, $customerOrderId, $purchaseOrderId, $status, $createdEndDate, $fromExpectedShipDate, $toExpectedShipDate, $limit, $productInfo): \Walmart\Models\MP\CA\Orders\WFSOrdersListType
167167
```
168168
Get all orders
169169

@@ -225,7 +225,7 @@ try {
225225

226226
### Return type
227227

228-
[**\Walmart\Models\MP\CA\Orders\OrdersListType**](../../../Models/MP/CA/Orders/OrdersListType.md)
228+
[**\Walmart\Models\MP\CA\Orders\WFSOrdersListType**](../../../Models/MP/CA/Orders/WFSOrdersListType.md)
229229

230230
### Authorization
231231

resources/schemas/models/ca/mp/cbt.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
"200": {
368368
"description": "Successful Operation",
369369
"content": {
370-
"application\/json": {
370+
"application\/pdf": {
371371
"schema": {
372372
"type": "string",
373373
"format": "binary",

resources/schemas/models/ca/mp/feeds.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@
118118
"200": {
119119
"description": "Successful Operation",
120120
"content": {
121-
"application\/json": {
121+
"application\/xml": {
122122
"schema": {
123123
"$ref": "#\/components\/schemas\/FeedId"
124124
},
@@ -189,7 +189,7 @@
189189
"200": {
190190
"description": "Successful Operation",
191191
"content": {
192-
"application\/json": {
192+
"application\/xml": {
193193
"schema": {
194194
"$ref": "#\/components\/schemas\/PartnerFeedResponse"
195195
},

resources/schemas/models/ca/mp/inventory.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"200": {
3636
"description": "Successful Operation",
3737
"content": {
38-
"application\/json": {
38+
"application\/xml": {
3939
"schema": {
4040
"$ref": "#\/components\/schemas\/InventoryV2"
4141
},
@@ -86,7 +86,7 @@
8686
"200": {
8787
"description": "Successful Operation",
8888
"content": {
89-
"application\/json": {
89+
"application\/xml": {
9090
"schema": {
9191
"$ref": "#\/components\/schemas\/InventoryV2"
9292
},
@@ -152,7 +152,7 @@
152152
"200": {
153153
"description": "Successful Operation",
154154
"content": {
155-
"application\/json": {
155+
"application\/xml": {
156156
"schema": {
157157
"$ref": "#\/components\/schemas\/FeedId"
158158
},

resources/schemas/models/ca/mp/items.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"200": {
118118
"description": "Successful Operation",
119119
"content": {
120-
"application\/json": {
120+
"application\/xml": {
121121
"schema": {
122122
"$ref": "#\/components\/schemas\/FeedId"
123123
},
@@ -188,7 +188,7 @@
188188
"200": {
189189
"description": "Successful Operation",
190190
"content": {
191-
"application\/json": {
191+
"application\/xml": {
192192
"schema": {
193193
"$ref": "#\/components\/schemas\/ItemResponses"
194194
},
@@ -229,7 +229,7 @@
229229
"200": {
230230
"description": "Successful Operation",
231231
"content": {
232-
"application\/json": {
232+
"application\/xml": {
233233
"schema": {
234234
"$ref": "#\/components\/schemas\/ItemResponse"
235235
},
@@ -270,7 +270,7 @@
270270
"200": {
271271
"description": "Successful Operation",
272272
"content": {
273-
"application\/json": {
273+
"application\/xml": {
274274
"schema": {
275275
"$ref": "#\/components\/schemas\/ItemRetireResponseV2"
276276
},

resources/schemas/models/ca/mp/orders.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"200": {
4848
"description": "Successful Operation",
4949
"content": {
50-
"application\/json": {
50+
"application\/xml": {
5151
"schema": {
5252
"$ref": "#\/components\/schemas\/Order"
5353
},
@@ -100,7 +100,7 @@
100100
"200": {
101101
"description": "Successful Operation",
102102
"content": {
103-
"application\/json": {
103+
"application\/xml": {
104104
"schema": {
105105
"$ref": "#\/components\/schemas\/Order"
106106
},
@@ -153,7 +153,7 @@
153153
"200": {
154154
"description": "Successful Operation",
155155
"content": {
156-
"application\/json": {
156+
"application\/xml": {
157157
"schema": {
158158
"$ref": "#\/components\/schemas\/OrderCancellation"
159159
},
@@ -194,7 +194,7 @@
194194
"200": {
195195
"description": "Successful Operation",
196196
"content": {
197-
"application\/json": {
197+
"application\/xml": {
198198
"schema": {
199199
"$ref": "#\/components\/schemas\/Order"
200200
},
@@ -316,9 +316,9 @@
316316
"200": {
317317
"description": "Successful Operation",
318318
"content": {
319-
"application\/json": {
319+
"application\/xml": {
320320
"schema": {
321-
"$ref": "#\/components\/schemas\/OrdersListType"
321+
"$ref": "#\/components\/schemas\/WFSOrdersListType"
322322
},
323323
"example": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\" ?>\n<list\n xmlns:ns2=\"http:\/\/walmart.com\/mp\/orders\"\n xmlns:ns3=\"http:\/\/walmart.com\/mp\/v3\/orders\"\n xmlns:ns4=\"http:\/\/walmart.com\/\">\n <meta>\n <totalCount>367<\/totalCount>\n <limit>10<\/limit>\n <nextCursor>?limit=10&amp;hasMoreElements=true&amp;soIndex=2&amp;poIndex=2&amp;sellerId=10&amp;status=Created&amp;createdStartDate=2016-01-01&amp;createdEndDate=2016-06-03T22:45:16.377Z<\/nextCursor>\n <\/meta>\n <elements>\n <order>\n <purchaseOrderId>2575263094491<\/purchaseOrderId>\n <customerOrderId>4091603648841<\/customerOrderId>\n <customerEmailId>gsingh@walmartlabs.com<\/customerEmailId>\n <orderDate>2016-05-18T16:53:14.000Z<\/orderDate>\n <shippingInfo>\n <phone>2342423234<\/phone>\n <estimatedDeliveryDate>2016-06-22T06:00:00.000Z<\/estimatedDeliveryDate>\n <estimatedShipDate>2016-06-15T06:00:00.000Z<\/estimatedShipDate>\n <methodCode>Standard<\/methodCode>\n <postalAddress>\n <name>PGOMS Walmart<\/name>\n <address1>850 Cherry Avenue<\/address1>\n <address2>Floor 5<\/address2>\n <city>San Bruno<\/city>\n <state>CA<\/state>\n <postalCode>94066<\/postalCode>\n <country>USA<\/country>\n <addressType>RESIDENTIAL<\/addressType>\n <\/postalAddress>\n <\/shippingInfo>\n <orderLines>\n <orderLine>\n <lineNumber>4<\/lineNumber>\n <item>\n <productName>Kenmore CF1 or 2086883 Canister Secondary Filter Generic 2 Pack<\/productName>\n <sku>RCA-OF-444gku444<\/sku>\n <\/item>\n <charges>\n <charge>\n <chargeType>PRODUCT<\/chargeType>\n <chargeName>ItemPrice<\/chargeName>\n <chargeAmount>\n <currency>USD<\/currency>\n <amount>25.00<\/amount>\n <\/chargeAmount>\n <tax>\n <taxName>Tax1<\/taxName>\n <taxAmount>\n <currency>USD<\/currency>\n <amount>1.87<\/amount>\n <\/taxAmount>\n <\/tax>\n <\/charge>\n <\/charges>\n <orderLineQuantity>\n <unitOfMeasurement>EACH<\/unitOfMeasurement>\n <amount>1<\/amount>\n <\/orderLineQuantity>\n <statusDate>2016-05-18T17:01:26.000Z<\/statusDate>\n <orderLineStatuses>\n <orderLineStatus>\n <status>Created<\/status>\n <statusQuantity>\n <unitOfMeasurement>EACH<\/unitOfMeasurement>\n <amount>1<\/amount>\n <\/statusQuantity>\n <\/orderLineStatus>\n <\/orderLineStatuses>\n <\/orderLine>\n <\/orderLines>\n <\/order>\n <order>\n <purchaseOrderId>2575263094492<\/purchaseOrderId>\n <customerOrderId>4091603648841<\/customerOrderId>\n <customerEmailId>gsingh@walmartlabs.com<\/customerEmailId>\n <orderDate>2016-05-18T16:53:14.000Z<\/orderDate>\n <shippingInfo>\n <phone>2342423234<\/phone>\n <estimatedDeliveryDate>2016-06-22T06:00:00.000Z<\/estimatedDeliveryDate>\n <estimatedShipDate>2016-06-15T06:00:00.000Z<\/estimatedShipDate>\n <methodCode>Standard<\/methodCode>\n <postalAddress>\n <name>PGOMS Walmart<\/name>\n <address1>850 Cherry Avenue<\/address1>\n <address2>Floor 5<\/address2>\n <city>San Bruno<\/city>\n <state>CA<\/state>\n <postalCode>94066<\/postalCode>\n <country>USA<\/country>\n <addressType>RESIDENTIAL<\/addressType>\n <\/postalAddress>\n <\/shippingInfo>\n <orderLines>\n <orderLine>\n <lineNumber>1<\/lineNumber>\n <item>\n <productName>Kenmore CF1 or 2086883 Canister Secondary Filter Generic 2 Pack<\/productName>\n <sku>RCA-OF-444gku444<\/sku>\n <\/item>\n <charges>\n <charge>\n <chargeType>PRODUCT<\/chargeType>\n <chargeName>ItemPrice<\/chargeName>\n <chargeAmount>\n <currency>USD<\/currency>\n <amount>25.00<\/amount>\n <\/chargeAmount>\n <tax>\n <taxName>Tax1<\/taxName>\n <taxAmount>\n <currency>USD<\/currency>\n <amount>1.89<\/amount>\n <\/taxAmount>\n <\/tax>\n <\/charge>\n <\/charges>\n <orderLineQuantity>\n <unitOfMeasurement>EACH<\/unitOfMeasurement>\n <amount>1<\/amount>\n <\/orderLineQuantity>\n <statusDate>2016-05-18T17:01:26.000Z<\/statusDate>\n <orderLineStatuses>\n <orderLineStatus>\n <status>Created<\/status>\n <statusQuantity>\n <unitOfMeasurement>EACH<\/unitOfMeasurement>\n <amount>1<\/amount>\n <\/statusQuantity>\n <\/orderLineStatus>\n <\/orderLineStatuses>\n <originalCarrierMethod>91<\/originalCarrierMethod>\n <\/orderLine>\n <\/orderLines>\n <\/order>\n <\/elements>\n<\/list>"
324324
}
@@ -366,7 +366,7 @@
366366
"200": {
367367
"description": "Successful Operation",
368368
"content": {
369-
"application\/json": {
369+
"application\/xml": {
370370
"schema": {
371371
"$ref": "#\/components\/schemas\/Order"
372372
},
@@ -520,7 +520,7 @@
520520
"200": {
521521
"description": "Successful Operation",
522522
"content": {
523-
"application\/json": {
523+
"application\/xml": {
524524
"schema": {
525525
"$ref": "#\/components\/schemas\/WFSOrdersListType"
526526
},

resources/schemas/models/ca/mp/price.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"200": {
3737
"description": "Successful Operation",
3838
"content": {
39-
"application\/json": {
39+
"application\/xml": {
4040
"schema": {
4141
"$ref": "#\/components\/schemas\/MPItemPriceResponseV2"
4242
},
@@ -101,7 +101,7 @@
101101
"200": {
102102
"description": "Successful Operation",
103103
"content": {
104-
"application\/json": {
104+
"application\/xml": {
105105
"schema": {
106106
"$ref": "#\/components\/schemas\/FeedId"
107107
},

resources/schemas/models/ca/mp/promotion.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"200": {
5555
"description": "Successful Operation",
5656
"content": {
57-
"application\/json": {
57+
"application\/xml": {
5858
"schema": {
5959
"type": "string",
6060
"x-expose-headers": true
@@ -124,7 +124,7 @@
124124
"200": {
125125
"description": "Successful Operation",
126126
"content": {
127-
"application\/json": {
127+
"application\/xml": {
128128
"schema": {
129129
"$ref": "#\/components\/schemas\/FeedId"
130130
},
@@ -165,7 +165,7 @@
165165
"200": {
166166
"description": "Successful Operation",
167167
"content": {
168-
"application\/json": {
168+
"application\/xml": {
169169
"schema": {
170170
"type": "string",
171171
"x-expose-headers": true

resources/schemas/models/ca/mp/reports.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"200": {
4646
"description": "Successful Operation",
4747
"content": {
48-
"application\/json": {
48+
"application\/xml": {
4949
"schema": {
5050
"x-expose-headers": true
5151
}

resources/schemas/models/mx/mp/items.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
"200": {
446446
"description": "Successful Operation",
447447
"content": {
448-
"application\/json": {
448+
"application\/xml": {
449449
"schema": {
450450
"$ref": "#\/components\/schemas\/ItemResponses"
451451
},
@@ -485,7 +485,7 @@
485485
"200": {
486486
"description": "Successful Operation",
487487
"content": {
488-
"application\/json": {
488+
"application\/xml": {
489489
"schema": {
490490
"$ref": "#\/components\/schemas\/ItemResponse"
491491
},
@@ -525,7 +525,7 @@
525525
"200": {
526526
"description": "Successful Operation",
527527
"content": {
528-
"application\/json": {
528+
"application\/xml": {
529529
"schema": {
530530
"$ref": "#\/components\/schemas\/ItemRetireResponseV2"
531531
},

0 commit comments

Comments
 (0)