Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shutterfly Order API .

Tags:

asp.net

api

I found this site

http://www.shutterfly.com/documentation/api_OrderImage.sfly

but there are no examples of actually walking through the whole process. Does anyone have any good documentation on using this API to take a local photo and allow someone to order a print via shutterfly?

like image 712
leora Avatar asked Dec 17 '22 10:12

leora


1 Answers

I went through these steps:

  • Sign up for an account
  • Sign up as a developer

Create an application (I called mine Test). Note the generated Application Id and Shared Secret

The Shutterfly API page has a list of references for various Domain-specific APIs:

  • Address Book
  • Album Data
  • Folder Data
  • Go To Shutterfly UE
  • Image Upload
  • Interactive Sign-in
  • Image Request
  • Order
  • Pricing
  • Seamless Sign-in
  • User Data
  • User Authentication

Each uses RESTful principles. The documentation looks pretty comprehensive to me, if you need some background, here's links for RESTful APIs and ROME you may find useful

There is also an API Explorer section on the same page that allows you to test the methods via a form on their site. For example this form for CRUD operations on the album data.

Based on your comment, for your requirements, you would:

  • Use the Album GET to list albums, then get the data for a specific album.
  • Use the Image Get request to retrieve the image data, so your friend can verify the image(s) they want to purchase.
  • Authenticate the user
  • Use the Pricing POST request to get the estimated pricing for the image.
  • User the Order POST to submit the order over https

Update: Found a page describing using a Greasemonkey script which adds Shutterfly print ordering capability to Flickr. This might provide the basis for a solution.

like image 113
Rich Seller Avatar answered Jan 10 '23 20:01

Rich Seller