Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getOrderAddress() and getOrderBuyerInfo() interfaces returned the following errors #550

Closed
zhiyinsoft opened this issue May 27, 2023 · 1 comment

Comments

@zhiyinsoft
Copy link

zhiyinsoft commented May 27, 2023

Problem description:

The getOrder and getOrderItems () interfaces successfully returned data,but both getOrderAddress() and getOrderBuyerInfo() interfaces returned the following errors:

Error:

[400] { "errors": [ { "code": "InvalidInput", "message": "Application do not have access to some or all requested resource", "details": "" } ] }

May I ask what is causing this? Can you tell me where to set it in order for these two interfaces to successfully return data?

I have another question, which interface can return the weight of all products in the order?

@jlevers
Copy link
Owner

jlevers commented Jun 5, 2023

Those endpoints are deprecated – try using the getOrder endpoint with $data_elements passed to get buyer and shipping info (more info here). Note that you will not be able to get buyer or shipping information unless you have been approved for PII access.

@jlevers jlevers closed this as completed Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants