You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2746,4 +2750,230 @@ public function getMessagingActionsForOrderRequest(AccessToken $accessToken, str
2746
2750
$request
2747
2751
);
2748
2752
}
2753
+
2754
+
/**
2755
+
* Operation sendInvoice.
2756
+
*
2757
+
* @param AccessToken $accessToken
2758
+
* @param string $amazon_order_id An Amazon order identifier. This specifies the order for which a message is sent. (required)
2759
+
* @param string[] $marketplace_ids A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified. (required)
2760
+
* @param \AmazonPHP\SellingPartner\Model\Messaging\InvoiceRequest $body body (required)
2761
+
*
2762
+
* @throws \AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
* @param string $amazon_order_id An Amazon order identifier. This specifies the order for which a message is sent. (required)
2857
+
* @param string[] $marketplace_ids A marketplace identifier. This specifies the marketplace in which the order was placed. Only one marketplace can be specified. (required)
'Missing the required parameter $marketplace_ids when calling sendInvoice'
2874
+
);
2875
+
}
2876
+
2877
+
if (\count($marketplace_ids) > 1) {
2878
+
thrownewInvalidArgumentException('invalid value for "$marketplace_ids" when calling MessagingApi.sendInvoice, number of items must be less than or equal to 1.');
Copy file name to clipboardExpand all lines: src/AmazonPHP/SellingPartner/Api/ShipmentApi/OrdersSDK.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ public function __construct(ClientInterface $client, HttpFactory $requestFactory
47
47
*
48
48
* @param AccessToken $accessToken
49
49
* @param string $order_id An Amazon-defined order identifier, in 3-7-7 format. (required)
50
-
* @param \AmazonPHP\SellingPartner\Model\Orders\UpdateShipmentStatusRequest $payload Request to update the shipment status. (required)
50
+
* @param \AmazonPHP\SellingPartner\Model\Orders\UpdateShipmentStatusRequest $payload The request body for the updateShipmentStatus operation. (required)
51
51
*
52
52
* @throws \AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
@@ -139,7 +139,7 @@ public function updateShipmentStatus(AccessToken $accessToken, string $region, s
139
139
*
140
140
* @param AccessToken $accessToken
141
141
* @param string $order_id An Amazon-defined order identifier, in 3-7-7 format. (required)
142
-
* @param \AmazonPHP\SellingPartner\Model\Orders\UpdateShipmentStatusRequest $payload Request to update the shipment status. (required)
142
+
* @param \AmazonPHP\SellingPartner\Model\Orders\UpdateShipmentStatusRequest $payload The request body for the updateShipmentStatus operation. (required)
Copy file name to clipboardExpand all lines: src/AmazonPHP/SellingPartner/Api/UploadsApi/UploadsSDK.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ public function __construct(ClientInterface $client, HttpFactory $requestFactory
48
48
* @param AccessToken $accessToken
49
49
* @param string[] $marketplace_ids A list of marketplace identifiers. This specifies the marketplaces where the upload will be available. Only one marketplace can be specified. (required)
50
50
* @param string $content_md5 An MD5 hash of the content to be submitted to the upload destination. This value is used to determine if the data has been corrupted or tampered with during transit. (required)
51
-
* @param string $resource The resource for the upload destination that you are creating. For example, if you are creating an upload destination for the createLegalDisclosure operation of the Messaging API, the {resource} would be /messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure, and the entire path would be /uploads/2020-11-01/uploadDestinations/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure. (required)
51
+
* @param string $resource The resource for the upload destination that you are creating. For example, if you are creating an upload destination for the createLegalDisclosure operation of the Messaging API, the `{resource}` would be `/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure`, and the entire path would be `/uploads/2020-11-01/uploadDestinations/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure`. If you are creating an upload destination for an Aplus content document, the `{resource}` would be `aplus/2020-11-01/contentDocuments` and the path would be `/uploads/v1/uploadDestinations/aplus/2020-11-01/contentDocuments`. (required)
52
52
* @param string $content_type The content type of the file to be uploaded. (optional)
53
53
*
54
54
* @throws \AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
@@ -147,7 +147,7 @@ public function createUploadDestinationForResource(AccessToken $accessToken, str
147
147
* @param AccessToken $accessToken
148
148
* @param string[] $marketplace_ids A list of marketplace identifiers. This specifies the marketplaces where the upload will be available. Only one marketplace can be specified. (required)
149
149
* @param string $content_md5 An MD5 hash of the content to be submitted to the upload destination. This value is used to determine if the data has been corrupted or tampered with during transit. (required)
150
-
* @param string $resource The resource for the upload destination that you are creating. For example, if you are creating an upload destination for the createLegalDisclosure operation of the Messaging API, the {resource} would be /messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure, and the entire path would be /uploads/2020-11-01/uploadDestinations/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure. (required)
150
+
* @param string $resource The resource for the upload destination that you are creating. For example, if you are creating an upload destination for the createLegalDisclosure operation of the Messaging API, the `{resource}` would be `/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure`, and the entire path would be `/uploads/2020-11-01/uploadDestinations/messaging/v1/orders/{amazonOrderId}/messages/legalDisclosure`. If you are creating an upload destination for an Aplus content document, the `{resource}` would be `aplus/2020-11-01/contentDocuments` and the path would be `/uploads/v1/uploadDestinations/aplus/2020-11-01/contentDocuments`. (required)
151
151
* @param string $content_type The content type of the file to be uploaded. (optional)
Copy file name to clipboardExpand all lines: src/AmazonPHP/SellingPartner/Model/APlus/AplusPaginatedResponse.php
-27Lines changed: 0 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,4 @@
1
1
<?phpdeclare(strict_types=1);
2
-
/**
3
-
* AplusPaginatedResponse.
4
-
*
5
-
* PHP version 7.4
6
-
*
7
-
* @category Class
8
-
*
9
-
* @author OpenAPI Generator team
10
-
*
11
-
* @link https://openapi-generator.tech
12
-
*/
13
-
14
-
/**
15
-
* Selling Partner API for A+ Content Management.
16
-
*
17
-
* With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners assemble content by choosing from content modules and adding images and text.
18
-
*
19
-
* The version of the OpenAPI document: 2020-11-01
20
-
* Generated by: https://openapi-generator.tech
21
-
* OpenAPI Generator version: 6.0.1-SNAPSHOT
22
-
*/
23
-
24
-
/**
25
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Copy file name to clipboardExpand all lines: src/AmazonPHP/SellingPartner/Model/APlus/AplusPaginatedResponseAllOf.php
-27Lines changed: 0 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -1,31 +1,4 @@
1
1
<?phpdeclare(strict_types=1);
2
-
/**
3
-
* AplusPaginatedResponseAllOf.
4
-
*
5
-
* PHP version 7.4
6
-
*
7
-
* @category Class
8
-
*
9
-
* @author OpenAPI Generator team
10
-
*
11
-
* @link https://openapi-generator.tech
12
-
*/
13
-
14
-
/**
15
-
* Selling Partner API for A+ Content Management.
16
-
*
17
-
* With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners assemble content by choosing from content modules and adding images and text.
18
-
*
19
-
* The version of the OpenAPI document: 2020-11-01
20
-
* Generated by: https://openapi-generator.tech
21
-
* OpenAPI Generator version: 6.0.1-SNAPSHOT
22
-
*/
23
-
24
-
/**
25
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
0 commit comments