Comments (2)
- Yes, you need access to PII in order to get order addresses.
- The
$config
parameter toOrdersApi
needs to be aConfiguration
object, per the documentation. - I get the same response as you when I try to call
getOrderAddress
via the sandbox. I think this may be an error on Amazon's end? Here's the code I'm using:
use SellingPartnerApi\Api\OrdersApi;
use SellingPartnerApi\Configuration;
use SellingPartnerApi\Endpoint;
$config = new Configuration([
'lwaClientId' => 'amzn1.application-oa2-client....',
'lwaClientSecret' => 'df4e....',
'lwaRefreshToken' => 'Atzr|IwEB....',
'awsAccessKeyId' => 'AKIA....',
'awsSecretAccessKey' => '4oi1q....',
'endpoint' => Endpoint::NA_SANDBOX,
]);
$ordersApi = new OrdersApi($config);
$response = $ordersApi->getOrderAddress('TEST_CASE_200');
var_dump($response);
from selling-partner-api.
OK, thanks jlevers.
from selling-partner-api.
Related Issues (20)
- Issue updating product price using SP-API's patchListingsItem method HOT 1
- How can you read advertising and create advertising?
- Not Able to create the Feed but its giving invalid inputs HOT 1
- [OrdersAPI] Why does the method signature change? (getOrders) HOT 1
- [OrdersAPI] Problem: "Application does not have access to one or more requested data elements: [shippingAddress]" HOT 3
- SP-API no longer requires AWS IAM or AWS Signature Version 4 HOT 1
- NextToken cannot be specified with other input parameters HOT 1
- [OrdersAPI] GetOrderItems GiftMessageText is Always Null HOT 1
- Class namespace issue if package installed in a parent directory
- SP-API no longer requires AWS IAM or AWS Signature Version 4 HOT 7
- Undefined type: ConfirmShipmentRequest() & confirmShipment() HOT 1
- Error when calling confirmShipment with already confirmed order HOT 5
- unable to download GET_GST_MTR_B2B_CUSTOM report data
- How can I claim refunds? HOT 4
- Unauthorized
- createShippingLabels method does not Generate RDT HOT 1
- Amazon is launching a new marketplace : South Africa HOT 1
- 429 Too Many Requests - QuotaExceeded Issue HOT 4
- Important question for me: How much does it cost to use Amazon SP? HOT 2
- Report GET_MERCHANT_LISTINGS_ALL_DATA in Json HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selling-partner-api.