-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to Create and Update Offers Using JSON_LISTINGS_FEED #834
Comments
I don't think it's possible to create new listings using the {
"messageId": 1,
"operationType": "UPDATE",
"productType": "PRODUCT",
"sku": "MY_SKU_0001",
"attributes": {
"externally_assigned_product_identifier": [
{
"type": "upc",
"value": "your-upc-value"
}
],
}
} |
Hi @jlevers Thank you for your response. I tried using "operationType": "UPDATE", but I received the following error:
Could you also suggest the correct API call to create a product? |
Yeah, I didn't really expect that to work. You can create products through the |
I am currently using the POST_FLAT_FILE_INVLOADER_DATA feed to submit data. This feed performs both actions—creating a new SKU if it doesn't exist and updating the SKU if it already exists.
I am planning to migrate from the POST_FLAT_FILE_INVLOADER_DATA feed to JSON_LISTINGS_FEED. However, after reviewing the documentation (linked below), I found that the provided examples only demonstrate how to update existing SKUs:
Listing Workflow Migration Tutorial.
I attempted to use the JSON_LISTINGS_FEED for this purpose, but it only updates existing SKUs and does not create new ones.
Could you please suggest a way to achieve both actions (create and update) in a single API call, similar to how it works with the previous feed?
Below are the feed attributes I am currently using with POST_FLAT_FILE_INVLOADER_DATA:
Any guidance would be greatly appreciated!
The text was updated successfully, but these errors were encountered: