Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • 11.14 Schreckhorn
    • Terminology
    • Solutions
    • User Guide - Deutsch
    • User Guide - English
    • API Changelog
  2. Fotoware Veloz
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a CMS
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Fotoware Veloz releases
    • Activity Exports
    • Fotoware Example Workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • What is Flow?
    • Getting started
    • Flow dictionary
  5. Fotoware On-Premises
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • The Fotoware API
    • Creating integrations using embeddable widgets
    • Authorizing applications using OAuth
    • Auto-tagging
    • FotoWeb Drag and Drop export
    • Integration using webhooks
    • Optimizely and Episerver plugin documentation
    • User Interface Integrations
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support
  • Home
  • Integrations and APIs
  • The Fotoware API
  • Orders

Order Representation

02. April 2025

Elaine Foley

An order representation is a JSON document which represents the contents of an order or a customer's personal shopping cart.

Its MIME type is application/vnd.fotoware.order+json

01

02

03

04

05

 

06

07

08

09

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

{

"href": "...",

"created": "2016-01-01T00:00:00Z",

"modified": "2016-01-01T00:00:00Z",

"state": "created" | "pending" | "approved" | "rejected" | "expired" | "cart",

"expires": "2016-01-01T00:00:00Z" | null,

"orderItems": [

{

"adminComment": "",

"asset": "...",

"expires": "2016-01-01T00:00:00Z" | null,

"expired": true | false,

"itemData": [

{"id": "...", "value": "..."},

{...},

...

]

"rendition": {

"name": "...",

"href": "...",

"download: "..."

}

}

{...},

],

"orderData": [

{"id": "...", "value": "..."},

{...},

...

],

"orderReference": "...",

"checkoutPageLocation": "..." | null,

"adminComment": "",

"userComment": "",

"owner": {...}

}

where

Attribute Type Description Example
href Link (string) to Order representation URL of the order
  • /fotoweb/orders/12345
  • /fotoweb/me/cart
created ISO8601 Date/Time Time when order was created
"2016-01-01T00:00:00Z"
modified ISO8601 Date/Time Time when order was last modified
"2016-01-01T00:00:00Z"
state String

Current state of the order:

  • pending: The order is waiting for administrator approval.
  • approved: The order has been approved.
  • rejected: The order has been rejected.
  • expired: The order has expired.
  • created: The order has been created but not submitted yet.
  • cart: the order is a customer's personal shopping cart.

Changes when an order is submitted, approved or rejected.

  • "cart"
  • "created"
  • "pending",
  • "approved"
  • "rejected"
  • "expired"
expires ISO8601 Date/Time

Time when order expires, null if it never expires.

An administrator or API client may set an expiry time when approving an order.

  • "2016-01-01T00:00:00Z"
orderItems Array

Ordered items. See below.

Contains the renditions ordered by the customer, but may also be modified by an administrator.

 
orderItems.asset Link (string) to Asset representation Asset whose rendition is ordered /fotoweb/archives/5000-Example/sub/folder/image.jpg
orderItems.rendition Object Rendition that is ordered. For more information, see Renditions.  
orderItems.rendition.name String

Human-readable display name of the rendition.

Should be shown in user interfaces. Typically matches processing profile name.

This is a display name. Do NOT use it as an ID for identifying a rendition! Use hrefinstead!

 
orderItems.rendition.href Link (string)

Original URL of the ordered rendition.

This is the same as the rendition attribute in a cart update or order update request.

Can be used to match against renditions.href in an Asset representation.

 
orderItems.rendition.download Link (string)

Download URL of the ordered rendition or null.

If not null, then this rendition can be downloaded (usually in approved orders only).

For more information, see the section about downloading renditions in Using the Shopping Cart API.

This is not a direct download URL. The URL does not accept any requests.

 
orderItems.expires ISO 8601 Date/Time

Time when item expires, null if it never expires.

An administrator or API client may set an expiry time on each item when approving an order.

"2016-01-01T00:00:00Z"
orderItems.expired Boolean true if item has expired, false otherwise  
orderItems.itemData Array Custom order data. See Custom Order Data  
orderitems.adminComment String

Comment on this item by the administrator.

An administrator may add a comment to each item when approving or rejecting an order.

 
orderData Array Custom order data. See Custom Order Data  
orderReference String

A human-readable string that uniquely identifies the order on the site.

May be shown in notifications and used for communication with users.

 
checkoutPageLocation String

URL of the custom checkout page.

If the standard checkout page is used (custom integration is disabled), then this is null.

This is equal to checkoutPageLocation in the request to submit an order. See also Using the Shopping Cart API.

 
adminComment String

Comment on this order by the administrator.

An administrator may add a comment when approving or rejecting an order.

 
userComment String

Comment on this order by the customer.

A customer may add a comment when submitting an order or modifying the shopping cart.

 
owner Object

User representation of the customer that placed the order.

Contains information such as the user's email address and user name.

 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Content Relation Items Changed Condition
  • Business Rule Condition: Content Relation Items Changed Condition
  • Content Schema Condition
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
FotoWare Switzerland AG
Industriestrasse 25
5033 Buchs (AG)
Switzerland

Copyright 2025 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand