MOO API /

Documentation

Drop-In Points

Drop-in Points

Drop-in points allow the user to return to the MOO web site at a number of predefined stages in the design and checkout flow. Each drop-in point requires the pack to pass a series of validation criteria before it can be used, e.g. you cannot add an empty pack to the cart.

Drop-in points are returned in a "dropIn" element. A list of allowable warnings is maintained for each drop-in. If the list of pack warnings is a subset of this list, then the drop-in is offered.

Example dropIn Element

'dropIns' : {
    'imageChooser' : 'http://www.moo.com/uploader/upload.php?pid=14&bid=2',
    'crop' : 'http://www.moo.com/uploader/design.php?sideType=image&pid=14&bid=2',
    'details' : 'http://www.moo.com/uploader/design.php?sideType=details&pid=14&bid=2',
    'preview' : 'http://www.moo.com/uploader/design.php?step=preview&pid=14&bid=2',
    'paper' : 'http://www.moo.com/uploader/choose_quantity.php?pid=14&bid=2',
    'quantity' : 'http://www.moo.com/uploader/choose_quantity.php?pid=14&bid=2',
    'finish' : 'http://www.moo.com/uploader/finish.php?pid=14&bid=2'
}

Drop-in Descriptions

Drop-in
Description
Allowable Warnings
Restrictions
imageChooser
Choose images
PVD002, PVD003 Image side "imageBox" rotations are not supported
crop
Zoom, rotate and crop images PVD002, PVD003

middle
Edit 'middle' sides (three sided products only) PVD002, PVD003
Only one (the last) 'middle' side will be displayed for editing
details
Edit 'details' sides PVD002, PVD003
Only one (the last) 'details' side will be displayed for editing
preview
Preview the pack    
paper
Choose paper stock (business cards only)     
quantity
Choose the number of items to order (business cards + minicards only)     
finish
Choose accessories and add to cart    

Language handling

By default, the drop-in URLs will cause the user to end up on the English version. You can force the user to end up on the translated version of the website by using one of the following API endpoint URLs instead:

  • /fr/api/service/ for French
  • /de/api/service/ for German
  • /es/api/service/ for Spanish
  • /it/api/service/ for Italian
  Oh hi, nice to see you! Fonts Terms & conditions Privacy policy © MOO Inc., 985 Waterman Avenue, East Providence, RI 02914, USA - Registered in the United States of America.