EAN-139780780788206   EAN-13 barcode 9780780788206
Product NameDesperation
CategoryBook / Magazine / Publication
Short DescriptionPrebound
Amazon.comA Buy on Amazon ~ 0780788206
Price Used10.97 US Dollars    (curriencies)
AuthorStephen King
Long DescriptionAn apocalyptic drama of good and evil, madness and revelation, this is a novel of modern horror and suspense.
Similar Items9781476770383: Revival: A Novel
9781416552512: Duma Key: A Novel
9781140432241: Duma Key: A Novel
9780743211383: Dreamcatcher
9780684853505: Bag Of Bones
9780670858699: Rose Madder
9780670855032: Insomnia
9780670851089: Nightmares & Dreamscapes
9780670839537: Needful Things: The Last Castle Rock Story
9780670814589: The Eyes Of The Dragon
9780525941903: The Regulators
9780517574669: Nightmares & Dreamscapes
Created11-14-2012 4:35:50pm
Modified09-27-2017 5:03:38am
Search Googleby EAN or by Title
Query Time0.0396571

Article of interest

This feature started with version 3.3 of the API and it allows you to update many fields of a product in one call. Prior to this, each attribute for a product was updated in a separate call, causing the process to be a bit slow.

It is important to note that bulk updates only work with JSON formatted data. Because of this, you can leave the mode=json out of your call.

You should use a POST call instead of a GET to avoid over running the length limits that can be found when sending long URLs.

Required Parameters

Optional Parameters

Each entry in the fields array is made up of keys and data. Some keys are required and some are optional depending on the data type being used. These entries mirror the single field update calls used when updating data one field at a time.

Details of the fields entries

An example of the JSON to update multiple fields for a single product

The order of each field in the array doesn't matter. We will process them in sequence but sequence makes no difference. So you don't have to sort them or place them in any partcular order.

You can actually update multiple products at the same time. To do this, you still need to pass some basic information for the first product in the required fields (see above). But in the fields JSON, you create an array of products, each with a fields sub-array. The product listed in the update field would be ignored for the most part but must still be valid. So it can be hardcoded when using this method as long as it is a vaild EAN code. 

An example of the JSON to update multiple fields for multiple products

It doesn't matter if you are updating a single product or multiple products. When the response is returned, the top level status is always going to be code 200 assuming your required fields passed the test. Then you will see an array of products even if you only passed in one to be updated. Each product entry and each field entry will have a status so you will know if individual updates worked or failed. This includes the imageURL you passed.

An example of the JSON returned after an update call

The return results in each img or status field