Skip to content

Struggling with basic Sandbox operations #1157

Answered by teknetik
teknetik asked this question in Q&A
Discussion options

You must be logged in to vote

I modified my code:

res = Orders(credentials=credentials, marketplace=Marketplaces.GB) data = res.get_orders(CreatedAfter='TEST_CASE_200', MarketplaceIds=["ATVPDKIKX0DER"]) data_dict = data.payload print(data_dict)

If I change the market place back to UK it fails, so that was probably my problem. Testing for US market place I dont think will cause me issues.

Same with my inventory request:

inventory = Inventories(credentials=credentials, marketplace=Marketplaces.US)
Has to be US with my app authorised in ACS for the US marketplace. Unless anyone can tell me different I am assuming sandbox only works for the US marketplace?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by teknetik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant