amzn / selling-partner-api-models

This repository contains OpenAPI models for developers to use when developing software to call Selling Partner APIs.
Apache License 2.0
618 stars 741 forks source link

CPSIAwarning Issue #4050

Closed abc1978785513 closed 2 months ago

abc1978785513 commented 4 months ago

20240726-104806 I can't find the related attribute field under the ProductType schema. What should I do?

jawheral commented 4 months ago

Hi @abc1978785513,

Can you provide more information on which exact ProductType/Schema you are interested in?

I was able to lookup multiple TOY related ProductType schemas and the CPSIA warning attribute is available as cpsia_cautionary_statement.

Best, Jawher Selling Partner API Solutions Architect

abc1978785513 commented 4 months ago

@jawheral The PLAY_SLIDE ProductType/Schema does not have the cpsia_cautionary_statement attribute field, but we still received such an error. What should we do?

jawheral commented 4 months ago

Hi @abc1978785513,

That's right, it seems that the ProductType PLAY_SLIDE doesn't support this attribute.

Did you make sure that your seller support case is addressing this same product you are trying to list? A quick check for products in the PLAY_SLIDE product type on Amazon shows that they don't require this warning field. Other Toy related product types require this field though. Did you verify that you are picking the right ProductType for your product?

You can use the getCatalogItems API to look for ASINs of products similar to yours in the Amazon catalog to double check the product type.

If this doesn't work, I suggest to continue your case with Seller Support to double check and better understand the requirements for your product/productType.

Best, Jawher Selling Partner API Solutions Architect

abc1978785513 commented 3 months ago

@jawheral I have a new question regarding the DRESSER product type. Why does the size field have to be set as required? Since this field is related to parent-child products, our business does not want to provide this field when initially creating the listing. Is there a good solution for this?

jawheral commented 3 months ago

@abc1978785513 If I understand correctly, you would like to list a product that already exists in the Amazon Catalog. For this, you can add the requirements parameter which is available in the productTypeDefinitions API and the putListingsItem operation. With that you won't have to add the size field.

You can refer to this workflow guide: Requirements

Best, Jawher Selling Partner API Solutions Architect

abc1978785513 commented 3 months ago

@jawheral I am creating a new catalog. not exists in the Amazon Catalog.

jawheral commented 3 months ago

@abc1978785513 In this case, I recommend that you check the same workflows guide but specifically Configuring related listings items. In this case, you have both new items in the catalog (Parent) but once the parent is available you create child listings following the Listings for Already Existing products.

I hope this helps!

abc1978785513 commented 3 months ago
                "if": {
                    "anyOf": [
                        {
                            "not": {
                                "required": [
                                    "parentage_level"
                                ],
                                "properties": {
                                    "parentage_level": {
                                        "items": {
                                            "required": [
                                                "value"
                                            ]
                                        }
                                    }
                                }
                            }
                        },
                        {
                            "not": {
                                "required": [
                                    "parentage_level"
                                ],
                                "properties": {
                                    "parentage_level": {
                                        "contains": {
                                            "required": [
                                                "value"
                                            ],
                                            "properties": {
                                                "value": {
                                                    "enum": [
                                                        "parent"
                                                    ]
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    ]
                },
                "then": {
                    "required": [
                        "size"
                    ]
                }              

This is the schema under the producttype. So, does it have to be filled out when creating a new catalog?

jawheral commented 3 months ago

@abc1978785513 you have to validate the listing you are creating against the schema. Please follow this link https://developer-docs.amazon.com/sp-api/docs/product-type-definition-meta-schema for how to validate against json schemas.

Best, Jawher Selling Partner API Solutions Architect

github-actions[bot] commented 2 months ago

This is a very old issue that is probably not getting as much attention as it deserves. We encourage you to check if this is still an issue after the latest release and if you find that this is still a problem, please feel free to open a new issue and make a reference to this one.

github-actions[bot] commented 2 months ago

closed for inactivity