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
We were able to use the /vendor/directFulfillment/orders/v1/purchaseOrders to retrieve the information of the Vendor Direct Fulfillment customer, such as name, city, addressLine1, and phone two weeks ago. However, we are now unable to retrieve any customer information; it has been replaced by 'XXXXX.' Additionally, I want to confirm whether RDT is required to access PII. However, we found we are still able to retrieve the customer information by /vendor/directFulfillment/orders/v1/purchaseOrders/{purchaseOrderNumber}
Error:
There is no error, just want to know if we need to use the RDT to access the information of the customer, since we have already given the RDT access on the SA API.
``
// See README for more information on the Configuration object's options
$config = new SellingPartnerApi\Configuration([
"lwaClientId" => "",
"lwaClientSecret" => "",
"lwaRefreshToken" => "",
"awsAccessKeyId" => "",
"awsSecretAccessKey" => "",
"endpoint" => SellingPartnerApi\Endpoint::NA // or another endpoint from lib/Endpoints.php
]);
$apiInstance = new SellingPartnerApi\Api\VendorDirectFulfillmentOrdersV1Api($config);
$created_after = (new \DateTime('2023-09-18 00:00:00'))->format('Y-m-d\TH:i:s\Z');
$created_before = (new \DateTime('2023-09-23 00:00:00'))->format('Y-m-d\TH:i:s\Z');
Problem description:
We were able to use the /vendor/directFulfillment/orders/v1/purchaseOrders to retrieve the information of the Vendor Direct Fulfillment customer, such as name, city, addressLine1, and phone two weeks ago. However, we are now unable to retrieve any customer information; it has been replaced by 'XXXXX.' Additionally, I want to confirm whether RDT is required to access PII. However, we found we are still able to retrieve the customer information by /vendor/directFulfillment/orders/v1/purchaseOrders/{purchaseOrderNumber}
Error:
There is no error, just want to know if we need to use the RDT to access the information of the customer, since we have already given the RDT access on the SA API.
``
Code
`<?php
require_once(DIR . '/vendor/autoload.php');
// See README for more information on the Configuration object's options
$config = new SellingPartnerApi\Configuration([
"lwaClientId" => "",
"lwaClientSecret" => "",
"lwaRefreshToken" => "",
"awsAccessKeyId" => "",
"awsSecretAccessKey" => "",
"endpoint" => SellingPartnerApi\Endpoint::NA // or another endpoint from lib/Endpoints.php
]);
$apiInstance = new SellingPartnerApi\Api\VendorDirectFulfillmentOrdersV1Api($config);
$created_after = (new \DateTime('2023-09-18 00:00:00'))->format('Y-m-d\TH:i:s\Z');
$created_before = (new \DateTime('2023-09-23 00:00:00'))->format('Y-m-d\TH:i:s\Z');
try {
$result = $apiInstance->getOrders($created_after, $created_before);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VendorDirectFulfillmentOrdersV1Api->getOrders: ', $e->getMessage(), PHP_EOL;
}`
![image](https://github.com/jlevers/selling-partner-api/assets/50844633/c7935ec4-5fa0-4fe0-ade9-ffb3653c6d9f)
The text was updated successfully, but these errors were encountered: