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

hello , how to process the result 'listPrepsDetails' #4524

Open
collery opened this issue Jan 14, 2025 · 3 comments
Open

hello , how to process the result 'listPrepsDetails' #4524

collery opened this issue Jan 14, 2025 · 3 comments
Assignees

Comments

@collery
Copy link

collery commented Jan 14, 2025

when i call listPrepDetails, it's return

{
        allOwnersConstraint: MUST_MATCH
        labelOwnerConstraint: null
        msku: 10-EJ7J-ZK6V
        prepCategory: SMALL
        prepOwnerConstraint: SELLER_ONLY
        prepTypes: [ITEM_LABELING, ITEM_POLYBAGGING]
    }

i want to set in my amzonProduct model ,

prepCategory SMALL
prepOwner: SELLER

but labelOwner what value ? NONE_ONLY or SELLER.。

@collery
Copy link
Author

collery commented Jan 14, 2025

screenshot_2025-01-14_15-53-55
i can't understand allOwnersConstraint

@collery
Copy link
Author

collery commented Jan 16, 2025

like this
{
"mskuPrepDetails": [
{
"msku": "qtestKuzi241203",
"allOwnersConstraint": "MUST_MATCH",
"prepCategory": "FRAGILE",
"prepTypes": [
"ITEM_LABELING",
"ITEM_BUBBLEWRAP"
]
}
]
}

@MeenaAmz
Copy link
Contributor

@collery Here is the guidance from the docs "Appropriate prepOwner values are returned in prepOwnerConstraint and appropriate labelOwner values are returned in labelOwnersConstraint. If these fields are empty in the response, you can select AMAZON or SELLER. If allOwnersConstraint is MUST_MATCH, prepOwner and labelOwner must match. If allOwnerConstraint is empty, then prepOwner and labelOwner do not need to match."

So in this case since prepOwnerConstraint is SELLER_ONLY then prepOwner is Seller, labelOwner should also be Seller since the allOwnersConstraint is MUST_MATCH.

Let me know if you have any further questions.

Thanks
Meena
Selling Partner Developer Services

@MeenaAmz MeenaAmz self-assigned this Jan 17, 2025
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