Closed silasfrigo closed 1 year ago
Hello @silasfrigo,
Thank you for reaching out regarding merchant_shipping_group
.
To find this information, you need to retrieve the schema
from getDefinitionsProductType API into Product Type Definitions API. You can find details regarding this in our documentation Product Type Definitions API v2020-09-01 Use Case Guide.
After calling the getDefinitionsProductType
, the schema
attribute will be in the response payload, and you will be able to retrieve the schema link for it. After accessing it, you can search for the merchant_shipping_group attribute, which includes the keys (enum
) and values (enumNames
) for the merchant template.
Obs:
1) Guarantee that you are passing the value LISTING into the requirements
parameter of getDefinitionsProductType
, so the merchant_shipping_group
attribute will return into the payload of the schema
2) Certify that when listing a product or an offer through listing API's you are using the keys (enum
) and not the values (enumNames
)
If the information available in the documentation link provided above does not fully resolve your inquiry, please open a support case with us.
Thanks, Leonardo Nakagawa Selling Partner API Developer Support
hi related to this what can be a valid value for merchant_shipping_group and if the below is a valid? thx
{ "header": { "sellerId": "xxx", "version": "2.0", "issueLocale": "en_US" }, "messages": [ { "messageId": 1, "sku": "aaabbbccc", "operationType": "PATCH", "productType": "PRODUCT", "patches": [ { "op": "replace", "path": "/attributes/merchant_shipping_group", "value": [ { "marketplace_id": "ATVPDKIKX0DER", "value": [ "Prime Template" ] } ] } ] } ] }
Hi @Barakros,
Each selling partner has their own valid values for merchant_shipping_group. This tutorial explains how to retrieve it for a certain selling partner.
Thanks, Leonardo Nakagawa Solutions Architect, Selling Partner API Developer Support
hi thx I figured that out 2 days ago... it also shows as part of the url when you hover over the template name on the seller central
On Wed, Sep 25, 2024 at 3:46 PM Leonardo Nakagawa @.***> wrote:
Hi @Barakros https://github.com/Barakros,
Each selling partner has their own valid values for merchant_shipping_group. This tutorial https://developer-docs.amazon.com/sp-api/docs/tutorial-retrieve-merchant-shipping-templates explains how to retrieve it for a certain selling partner.
Thanks, Leonardo Nakagawa Solutions Architect, Selling Partner API Developer Support
— Reply to this email directly, view it on GitHub https://github.com/amzn/selling-partner-api-models/issues/2661#issuecomment-2373988080, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHFA2OWW73JITGNC36EA5O3ZYKWCNAVCNFSM6AAAAABIHQUD6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTHE4DQMBYGA . You are receiving this because you were mentioned.Message ID: @.***>
Hello. Is there a way for me to retrieve all my merchang_shippign_groups from the SP API? I tried passing seller_id in the product definitions API as the docs said, but it was not successfull.