EAN-139780879352349   EAN-13 barcode 9780879352349
Product NameOfficial Guide To Colonial Williamsburg
CategoryBook / Magazine / Publication
Short DescriptionPaperback
Amazon.comA Buy on Amazon ~ 0879352345
Price New6.74 US Dollars    (curriencies)
Price Used0.99 US Dollars    (curriencies)
AuthorColonial Williamsburg
Page Count176
Long DescriptionThe Colonial Williamsburg Foundation is a not-for-profit educational institution that preserves and operates the world s largest living history museum. Within the 301-acre Historic Area, you can see hundreds of restored, reconstructed, and historically furnished buildings, and experience colonial and Revolutionary America through the lives of the men and women black, white, and native American, slave, indentured, and free who built our nation. The comprehensive and lavishly illustrated third edition includes up-to-date information on: what to see and do in Colonial Williamsburg s Historic Area; the new Revolutionary City programming; planning your visit; tips for families; profiles of eighteenth-century inhabitants; Colonial Williamsburg's decorative arts and folk art museums, a street-by-street, building-by-building guide; detailed, user-friendly maps; and dining, lodging, and recreation recommendations.
Similar Items9780810907874: Colonial Williamsburg
9780810906099: Colonial Williamsburg
9780762757046: Insiders' Guide to Williamsburg and Virginia's Historic Triangle
9780590929226: If You Lived In Williamsburg In Colonial Days
9780548385876: If You Lived In Williamsburg In Colonial Days
9780517478141: Williamsburg Before And After: The Rebirth Of Virginia's Colonial Capital
9780516046891: Williamsburg Before And After: The Rebirth Of Virginia's Colonial Capital
9780470507360: Frommer's Virginia (Frommer's Complete Guides)
9780470175910: Frommer's Virginia (Frommer's Complete Guides)
9780385326797: Nancy's Story: 1765 (Colonial Williamsburg(R))
View 10 more similar items
Created02-26-2012 10:06:05pm
Modified05-01-2020 4:52:29am
Search Googleby EAN or by Title
Query Time0.0205538

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

Try our data update wizard tool to generate sample code.




Examples of how to update images

Here are two examples of updating images. These both use a GET that you can test in your browser as soon as you insert your keycode. No other fields are being updated in these two examples. You would normally want to use POST in your code because there can be issues with very long GET requests losing data off the end. But these examples will work properly as GET or POST.

This first example is updating a single product image in simple mode using only form variables (no JSON)[YOUR-CODE]&update=0025192251344&field=*bulk*&imageURL=

This next example is also updating a single product image, but because it is using JSON, you could pass multiple products in the outer "fields" array. Notice that each inner product block also has a "fields" list when using JSON.[YOUR-CODE]&update=0025192251344&field=*bulk*&fields=[{%22ean%22:%220025192251344%22,%22imageURL%22:%22,%22fields%22:[]}]