Shutterfly Open API  |  Order Image


Description

Upload the images needed by a particular order. Query whether an order's images have been uploaded.

Call Signature

Application ID and call signature are required. Please see Call Signature documentation for more details.

Resource Path

This API uses the following resource path element:

  • /image - often paired with a Shutterfly image ID

It should appear in combination with its parent:

  • Order API - Example:
    • /order/000012345678-8000012/image
    • /order/000012345678-8000012/image/67b0de21b3022c546538

Methods

  • POST - Upload images needed by a specific order. This API is similar to the Image Upload API, but this version is single-image.
  • GET - Queries the state of one or more images within an order. The purpose is to determine which images have been successfully uploaded from Shutterfly's perspective.

Scheme

http
https (optional)

Host

for POST: up3.shutterfly.com; for GET: ws.shutterfly.com

Method   Endpoint example  
  
POST http://up3.shutterfly.com/order/000012345678-8000012/image/10d66da8e87e8def
  
GET http://ws.shutterfly.com/order/000012345678-8000012/image
http://ws.shutterfly.com/order/000012345678-8000012/image/67b0de21b3022c546538

In the following Method detail sections, click on Method name to expand or collapse the detail.
Click here to expand/collapse all.

Method: POST

Method: GET

Frequently Asked Questions

Upload

My upload doesn't work. It gets strange exceptions, like "IOException caught reading the stream". What's wrong?
POST multipart/form-data is not easy to program correctly. You must follow RFC1867 exactly, right down to the placement of empty lines (CRLF). Shutterfly recommends that you find a library routine in your programming language to do the job for you, or that you use the API Explorer for Image Upload to see what Shutterfly's Java library would generate.
Why is my image in WAITING_FOR_UPLOAD state?
This order was placed without the images being on Shutterfly yet, and this particular image has not yet been uploaded.
How do I upload a WAITING_FOR_UPLOAD image?
Please refer to the order upload API for further information on how to upload an ordered image.
How do I specify an image already within a Shutterfly album for this order?
We do not support album images for ordering at the current time. The image must be re-uploaded using the order upload API.
All images are in READY state, why is my order not processing?
Orders must be set to processing state using the order state API once all images are successfully uploaded.
© Copyright Shutterfly 1999-2009. All rights reserved.