Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Need Support for GPSR compliance in Listings Items API #850

Open
k2priya opened this issue Feb 6, 2025 · 0 comments
Open

Need Support for GPSR compliance in Listings Items API #850

k2priya opened this issue Feb 6, 2025 · 0 comments

Comments

@k2priya
Copy link

k2priya commented Feb 6, 2025

Problem description: When I'm trying to update GPSR compliance details for products via API call. Facing "The specified value for "safety_and_compliance" is invalid. The attributes are invalid." Error

Error:

Array
(
    [sku] => 123456 - B00EE00G60 - 62
    [status] => INVALID
    [submissionId] => 2bad81b445f548c0aea648b2fa67315c
    [issues] => Array
        (
            [0] => Array
                (
                    [code] => 4000001
                    [message] => Der angegebene Wert für "safety_and_compliance" ist ungültig.
                    [severity] => ERROR
                    [attributeNames] => Array
                        (
                            [0] => safety_and_compliance
                        )
                    [categories] => Array
                        (
                        )
                )
            [1] => Array
                (
                    [code] => 90000900
                    [message] => Die Attribute sind ungültig.
                    [severity] => ERROR
                    [attributeNames] => Array
                        (
                            [0] => safety_and_compliance
                        )
                    [categories] => Array
                        (
                        )
                )
        )
)

Code

Array
(
    [0] => Array
        (
            [sku] => 123456 - B00EE00G60 - 62
            [productType] => INK_OR_TONER
            [attributes] => Array
                (
                    [fulfillment_availability] => Array
                        (
                            [0] => Array
                                (
                                    [fulfillment_channel_code] => DEFAULT
                                    [quantity] => 2
                                    [lead_time_to_ship_max_days] => 1
                                )
                        )
                    [item_name] => Array
                        (
                            [0] => Array
                                (
                                    [value] => 106R03475 Xerox PHASER 6510 Cartuccia del Toner Giallo
                                    [marketplace_id] => A1PA6795UKMFR9
                                )
                        )
                    [brand] => Array
                        (
                            [0] => Array
                                (
                                    [value] => Xerox
                                    [marketplace_id] => A1PA6795UKMFR9
                                )
                        )
                    [safety_and_compliance] => Array
                        (
                            [gpsr_safety_attestation] => Array
                                (
                                    [0] => Array
                                        (
                                            [value] => true
                                            [marketplace_id] => A1PA6795UKMFR9
                                        )
                                )
                            [gpsr_manufacturer_reference] => Array
                                (
                                    [0] => Array
                                        (
                                            [gpsr_manufacturer_email_address] => info@konicaminolta.nl
                                            [marketplace_id] => A1PA6795UKMFR9
                                        )
                                )
                        )
                    [purchasable_offer] => Array
                        (
                            [0] => Array
                                (
                                    [currency] => EUR
                                    [our_price] => Array
                                        (
                                            [0] => Array
                                                (
                                                    [schedule] => Array
                                                        (
                                                            [0] => Array
                                                                (
                                                                    [value_with_tax] => 20.32
                                                                )
                                                        )
                                                )
                                        )
                                )
                        )
                    [list_price] => Array
                        (
                            [0] => Array
                                (
                                    [currency] => EUR
                                    [marketplace_id] => A1PA6795UKMFR9
                                    [value_with_tax] => 20.32
                                )
                        )
                    [condition_type] => Array
                        (
                            [0] => Array
                                (
                                    [value] => new_new
                                    [marketplace_id] => A1PA6795UKMFR9
                                )
                        )
                    [merchant_suggested_asin] => Array
                        (
                            [0] => Array
                                (
                                    [value] => B00EE00G60
                                    [marketplace_id] => A1PA6795UKMFR9
                                )
                        )
                    [externally_assigned_product_identifier] => Array
                        (
                            [0] => Array
                                (
                                    [value] => 123456B00EE00G60
                                    [marketplace_id] => A1PA6795UKMFR9
                                )
                        )
                )
            [requirements] => LISTING
        )
)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant