Documentation
Feedback
Guides
Troubleshooting

Troubleshooting
API
I can't update the EAN of my SKUs via API

Updating EANs in VTEX can lead to catalog sync issues affecting inventory.

Keywords: SKU, product, EAN, catalog

When trying to update the EAN (European Article Number), which contains the barcode information for a SKU, you may face issues with catalog synchronization between the VTEX Admin and API. This can impact inventory management and customer experience.

Solution

To solve this issue, consider deleting the SKU EAN and then adding a new EAN.

Deleting the SKU EAN

To update the current SKU EAN, you must first delete all the EAN values associated with the SKU.

Step 1 - Add a new EAN to the SKU

Only after all previous EANs have been deleted can you add a new EAN to the SKU. To do this, use the Create SKU EAN endpoint to create the new EAN value.

Step 2 - Check whether the SKU EAN has been updated

After adding the new EAN, use the Get SKU by EAN endpoint to confirm it has been updated. The new EAN values will be displayed in the AlternateIdValues array.


_10
"AlternateIdValues":
_10
[
_10
"8781",
_10
"878181"
_10
]

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page