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
612 stars 739 forks source link

Automate Repricing - Error when updating automated_pricing_merchandising_rule_plan #2463

Closed Jonny14231 closed 1 year ago

Jonny14231 commented 1 year ago

Hello,

I believe Amazon has added this recenthly, but we're receiving the following error [{'code': '4000000', 'message': 'An internal error has occurred. Please try again.', 'severity': 'ERROR'}] when trying to update the Automated Pricing Merchandising Rule Plan. We can successfully update the Minimum and Maximum Price.

dictionary = {
    "productType": "PRODUCT",
    "patches": 
        [{
            "op": "replace",
            "path": "/attributes/purchasable_offer",
            "value": [
                {
                    "marketplace_id": "A1F83G8C2ARO7P",
                    "automated_pricing_merchandising_rule_plan": [{"merchandising_rule": [{"rule_id": "Competitive Price Rule by Amazon"}]}],
                }
            ],
        }
        ]}

Highly appreciate it if anyone has any ideas.

chapmanjw commented 1 year ago

Hello @Jonny14231,

Unfortunately, the cat got out of the bad prematurely, so to speak. In the future, you will be able to associate pricing rules as part of your listings submissions. However, this feature is not yet complete. We are addressing the issue that caused these attributes/fields to show up in the Product Type Definitions API prematurely. Stay tuned to future product type change notifications for when this feature is fully implemented.

Thanks,

John Chapman