A major part of a brand’s business is handling orders. Together with invoices, orders are how ShootProof helps photography studios grow sustainable businesses. Through the ShootProof API, your app can provide tools to help photographers manage and fulfill orders.
Returns a list of all orders for the current brand. Query string parameters may be used to affect the response, including pagination, sorting, and filtering.
/studio/brand/{brandId}/order
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
Property | Description |
---|---|
filterCombinedOrder |
If provided and truthy, returns orders that are a combined order. |
filterDigitalStatus |
The digital status ID by which to filter results. |
filterEventId |
The event ID by which to filter results. |
filterFulfillmentType |
The order fulfillment type by which to filter results. |
filterHasCustomerCrop |
If provided and truthy, returns orders with customer submitted crop data. |
filterHasCustomerNotes |
If provided and truthy, returns orders with customer submitted notes. |
filterHasRetouchRequest |
If provided and truthy, returns orders with a request for retouching. |
filterLabStatus |
The lab status ID by which to filter results. |
filterOrderId |
The order ID by which to filter results. |
filterOrderOrigin |
Filter results by either customer or studio placed orders. |
filterOrderStatus |
The order status ID by which to filter results. |
filterParentOrderId |
The parent order ID by which to filter results. |
filterPaymentStatus |
The order payment status by which to filter results. |
page |
The page of results to return. |
rows |
The number of rows to return on each page of results. |
searchCustomerEmail |
The customer email address by which to filter results. |
searchCustomerName |
The customer name by which to filter results. |
sortBy |
The property by which items returned should be sorted. |
sortType |
The direction in which sorting should occur. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
200 OK
Orders list response.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items |
A collection of resources returned in the current result set.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
links required read-only |
Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
meta read-only |
Metadata describing the current result set.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type |
The model type for the list response object. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderCollection"
}
}
},
"description": "Orders list response."
}
}
Creates a new order, responding with the newly created object.
/studio/brand/{brandId}/order
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
The order object to create.
Property | Description |
---|---|
billingAddress required nullable |
The billing address for this order. |
clientNote nullable |
Client submitted note, added by the client/customer when the order was placed. |
clientSelectedShippingId nullable |
Shipping option that the client chose at checkout. This field is readOnly in update requests. |
customStatus nullable |
A custom order status provided by the studio |
customerEmail |
The email address of the customer having billing responsibility for this order. |
customerPhone nullable |
The phone number submitted with the order. |
eventId nullable deprecated |
The identifier for the event this order originates from. This can only be null if the order is part of a combined order. This field is read-only in update requests. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
labCatalogId nullable |
Identifier of the lab catalog containing the items which comprise this order. This field is readOnly in update requests. |
orderStatus nullable |
The slug string name of the current status of this order. See |
pickupAtStudio |
Flag indicating whether the order will be picked up at the studio in lieu of being shipped. Applies to self fulfilled items or items drop shipped from lab to studio. |
shippingAddress required nullable |
The address this order should be shipped to. |
shippingCharge |
Amount charged by the studio to the customer for shipping of this order. |
studioNote nullable |
Studio submitted note, added by the studio owner/user when updating an order. |
tags |
Tags describing this order. |
type |
The model type for the response object. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/Order"
}
}
},
"description": "The order object to create.",
"required": true
}
201 Created
The successfully-created order.
Header | Description |
---|---|
Location |
The URL to the newly-created order. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adjustment nullable read-only |
Amount of adjustment applied to this order. Positive number which is always subtracted from subtotal. Derived from the sum of discount amounts. |
||||||||||||||||
balanceDue read-only |
The amount of the balance presently due on this order. Should equal the sum of grand total and adjustments minus payments. This is a calculated property. @TODO: remove? |
||||||||||||||||
billingAddress required nullable |
The billing address for this order. |
||||||||||||||||
clientNote nullable |
Client submitted note, added by the client/customer when the order was placed. |
||||||||||||||||
clientSelectedShippingId nullable |
Shipping option that the client chose at checkout. This field is readOnly in update requests. |
||||||||||||||||
combinedOrder read-only |
Indicates whether this order was created by combining multiple orders. |
||||||||||||||||
created read-only |
The creation date of this order. |
||||||||||||||||
currencyCode read-only |
Currency code for the currency all order amounts are expressed in. |
||||||||||||||||
currencySymbol read-only |
Currency symbol of the currency all order amounts are expressed in. |
||||||||||||||||
customStatus nullable |
A custom order status provided by the studio |
||||||||||||||||
customerCropSelected read-only |
Whether this order contains items having a customer defined crop. |
||||||||||||||||
customerEmail |
The email address of the customer having billing responsibility for this order. |
||||||||||||||||
customerName nullable read-only |
The name of the customer having billing responsibility for this order. Read-only because it's a property of the customer's address, not the Order object itself. |
||||||||||||||||
customerPhone nullable |
The phone number submitted with the order. |
||||||||||||||||
digitalDownloadDate nullable read-only |
Important: this property returns mock data. See example. The date on which the digital order items were downloaded by the customer. Null if |
||||||||||||||||
digitalSentDate read-only |
Important: this property returns mock data. See example. The date on which the digital order items were sent to the customer. Null if |
||||||||||||||||
digitalStatus nullable read-only |
String slug representation of the current digital status of this order. Null if |
||||||||||||||||
eventId nullable deprecated |
The identifier for the event this order originates from. This can only be null if the order is part of a combined order. This field is read-only in update requests. |
||||||||||||||||
eventName nullable read-only deprecated |
The name of the event this order originates from. |
||||||||||||||||
fulfillmentTypes read-only |
Array of slugs descriptions of the order fulfillment types. An order may have one or more fulfillment types. Determined by the items in the order. |
||||||||||||||||
grandTotal read-only |
The order grand total value, in the currency selected by the order's currencyCode. Grand total is calculated by adding the item price for each item and item option, subtracting discounts and applying tax. Grand total is fixed to the time when order was placed by the customer. |
||||||||||||||||
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||||||
isPaid read-only deprecated |
The This property is deprecated and may be removed in the future. |
||||||||||||||||
itemCount read-only |
The number of items on this order. |
||||||||||||||||
labApprovedByStudioDate nullable read-only |
The date on which this order was approved for processing by lab. |
||||||||||||||||
labCatalogId nullable |
Identifier of the lab catalog containing the items which comprise this order. This field is readOnly in update requests. |
||||||||||||||||
labId nullable read-only |
The id of the lab fulfilling the order. |
||||||||||||||||
labName nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
labReceipts read-only |
Collection of records of lab receipts of orders.
|
||||||||||||||||
labShipments read-only |
Lab shipments associated with this order
|
||||||||||||||||
labStatus nullable read-only |
The slug string name of the current status of lab fulfilled orders. Null if order is studio-fulfilled. Alternately referred to as |
||||||||||||||||
labSubmittedDate nullable read-only |
The date on which this order's lab fulfilled items were submitted to the lab for fulfillment. |
||||||||||||||||
links required read-only |
Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name. |
||||||||||||||||
orderStatus nullable |
The slug string name of the current status of this order. See |
||||||||||||||||
origin read-only |
Indicates whether the order was placed by the studio or by their client. |
||||||||||||||||
parentOrderId nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
paymentStatus read-only |
The slug string name of the current payment status of this order. When the Order contains payments having a sum of not more than $0, the |
||||||||||||||||
pickupAtStudio |
Flag indicating whether the order will be picked up at the studio in lieu of being shipped. Applies to self fulfilled items or items drop shipped from lab to studio. |
||||||||||||||||
profitReleaseDate nullable read-only |
The date and time when order funds were released to the studio. Null if not applicable. |
||||||||||||||||
profitReleased read-only |
Flag indicating whether the order's profit has been released. Funds are released to studio after 5 days, at which point this will be true. Null if not applicable, only applicable when payment gateway is ShootProof Payments. |
||||||||||||||||
retouchRequested beta nullable read-only |
Indicates whether the customer has requested retouching on the order. |
||||||||||||||||
roesOrderId nullable read-only |
The identifier for the order as recognized by ROES, if applicable. |
||||||||||||||||
salesTax read-only |
Amount of sales tax applied to this order. |
||||||||||||||||
salesTaxOnDigitals read-only |
Flag indicating whether or not sales tax is applied to digital download items in this order. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxOnShipping read-only |
Flag indicating whether or not sales tax is applied to the shipping amount. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxPercent read-only |
The percentage used to calculate sales tax amount. |
||||||||||||||||
salesTaxStateId nullable read-only |
The 2 character code identifying the US state for which sales tax is being applied. |
||||||||||||||||
salesTaxTitle nullable read-only |
The human readable string labeling the sales tax amount. This is the sales tax label in use on the price sheet at the time the order was placed. |
||||||||||||||||
shippingAddress required nullable |
The address this order should be shipped to. |
||||||||||||||||
shippingCharge |
Amount charged by the studio to the customer for shipping of this order. |
||||||||||||||||
studioNote nullable |
Studio submitted note, added by the studio owner/user when updating an order. |
||||||||||||||||
tags |
Tags describing this order. |
||||||||||||||||
type |
The model type for the response object. |
||||||||||||||||
vatNumber nullable read-only |
VAT number from the price sheet at the time the order was placed. |
||||||||||||||||
vatTotal read-only |
The amount of VAT calculated for and applied to this order. |
400 Bad Request
Validation error response. Check the info.errors
property in the response for more details.
When the Content-Type
of the response is application/problem+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
A longer description of of the error encountered. |
||||||||||||||
info |
Additional information that may be provided to aid in error resolution.
|
||||||||||||||
status |
The HTTP status code associated with this error. |
||||||||||||||
title |
A short description of the error encountered. |
||||||||||||||
type |
A namespace URI uniquely identifying the error type. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"201": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/Order"
}
}
},
"description": "The successfully-created order.",
"headers": {
"Location": {
"description": "The URL to the newly-created order.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Changes order status to deleted
.
/studio/brand/{brandId}/order/{orderId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
204 No Content
Successful deletion response.
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"204": {
"description": "Successful deletion response."
}
}
Returns an order with the given ID. If the ID is not found, returns a 404
response.
/studio/brand/{brandId}/order/{orderId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
200 OK
An order
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adjustment nullable read-only |
Amount of adjustment applied to this order. Positive number which is always subtracted from subtotal. Derived from the sum of discount amounts. |
||||||||||||||||
balanceDue read-only |
The amount of the balance presently due on this order. Should equal the sum of grand total and adjustments minus payments. This is a calculated property. @TODO: remove? |
||||||||||||||||
billingAddress required nullable |
The billing address for this order. |
||||||||||||||||
clientNote nullable |
Client submitted note, added by the client/customer when the order was placed. |
||||||||||||||||
clientSelectedShippingId nullable |
Shipping option that the client chose at checkout. This field is readOnly in update requests. |
||||||||||||||||
combinedOrder read-only |
Indicates whether this order was created by combining multiple orders. |
||||||||||||||||
created read-only |
The creation date of this order. |
||||||||||||||||
currencyCode read-only |
Currency code for the currency all order amounts are expressed in. |
||||||||||||||||
currencySymbol read-only |
Currency symbol of the currency all order amounts are expressed in. |
||||||||||||||||
customStatus nullable |
A custom order status provided by the studio |
||||||||||||||||
customerCropSelected read-only |
Whether this order contains items having a customer defined crop. |
||||||||||||||||
customerEmail |
The email address of the customer having billing responsibility for this order. |
||||||||||||||||
customerName nullable read-only |
The name of the customer having billing responsibility for this order. Read-only because it's a property of the customer's address, not the Order object itself. |
||||||||||||||||
customerPhone nullable |
The phone number submitted with the order. |
||||||||||||||||
digitalDownloadDate nullable read-only |
Important: this property returns mock data. See example. The date on which the digital order items were downloaded by the customer. Null if |
||||||||||||||||
digitalSentDate read-only |
Important: this property returns mock data. See example. The date on which the digital order items were sent to the customer. Null if |
||||||||||||||||
digitalStatus nullable read-only |
String slug representation of the current digital status of this order. Null if |
||||||||||||||||
eventId nullable deprecated |
The identifier for the event this order originates from. This can only be null if the order is part of a combined order. This field is read-only in update requests. |
||||||||||||||||
eventName nullable read-only deprecated |
The name of the event this order originates from. |
||||||||||||||||
fulfillmentTypes read-only |
Array of slugs descriptions of the order fulfillment types. An order may have one or more fulfillment types. Determined by the items in the order. |
||||||||||||||||
grandTotal read-only |
The order grand total value, in the currency selected by the order's currencyCode. Grand total is calculated by adding the item price for each item and item option, subtracting discounts and applying tax. Grand total is fixed to the time when order was placed by the customer. |
||||||||||||||||
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||||||
isPaid read-only deprecated |
The This property is deprecated and may be removed in the future. |
||||||||||||||||
itemCount read-only |
The number of items on this order. |
||||||||||||||||
labApprovedByStudioDate nullable read-only |
The date on which this order was approved for processing by lab. |
||||||||||||||||
labCatalogId nullable |
Identifier of the lab catalog containing the items which comprise this order. This field is readOnly in update requests. |
||||||||||||||||
labId nullable read-only |
The id of the lab fulfilling the order. |
||||||||||||||||
labName nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
labReceipts read-only |
Collection of records of lab receipts of orders.
|
||||||||||||||||
labShipments read-only |
Lab shipments associated with this order
|
||||||||||||||||
labStatus nullable read-only |
The slug string name of the current status of lab fulfilled orders. Null if order is studio-fulfilled. Alternately referred to as |
||||||||||||||||
labSubmittedDate nullable read-only |
The date on which this order's lab fulfilled items were submitted to the lab for fulfillment. |
||||||||||||||||
links required read-only |
Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name. |
||||||||||||||||
orderStatus nullable |
The slug string name of the current status of this order. See |
||||||||||||||||
origin read-only |
Indicates whether the order was placed by the studio or by their client. |
||||||||||||||||
parentOrderId nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
paymentStatus read-only |
The slug string name of the current payment status of this order. When the Order contains payments having a sum of not more than $0, the |
||||||||||||||||
pickupAtStudio |
Flag indicating whether the order will be picked up at the studio in lieu of being shipped. Applies to self fulfilled items or items drop shipped from lab to studio. |
||||||||||||||||
profitReleaseDate nullable read-only |
The date and time when order funds were released to the studio. Null if not applicable. |
||||||||||||||||
profitReleased read-only |
Flag indicating whether the order's profit has been released. Funds are released to studio after 5 days, at which point this will be true. Null if not applicable, only applicable when payment gateway is ShootProof Payments. |
||||||||||||||||
retouchRequested beta nullable read-only |
Indicates whether the customer has requested retouching on the order. |
||||||||||||||||
roesOrderId nullable read-only |
The identifier for the order as recognized by ROES, if applicable. |
||||||||||||||||
salesTax read-only |
Amount of sales tax applied to this order. |
||||||||||||||||
salesTaxOnDigitals read-only |
Flag indicating whether or not sales tax is applied to digital download items in this order. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxOnShipping read-only |
Flag indicating whether or not sales tax is applied to the shipping amount. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxPercent read-only |
The percentage used to calculate sales tax amount. |
||||||||||||||||
salesTaxStateId nullable read-only |
The 2 character code identifying the US state for which sales tax is being applied. |
||||||||||||||||
salesTaxTitle nullable read-only |
The human readable string labeling the sales tax amount. This is the sales tax label in use on the price sheet at the time the order was placed. |
||||||||||||||||
shippingAddress required nullable |
The address this order should be shipped to. |
||||||||||||||||
shippingCharge |
Amount charged by the studio to the customer for shipping of this order. |
||||||||||||||||
studioNote nullable |
Studio submitted note, added by the studio owner/user when updating an order. |
||||||||||||||||
tags |
Tags describing this order. |
||||||||||||||||
type |
The model type for the response object. |
||||||||||||||||
vatNumber nullable read-only |
VAT number from the price sheet at the time the order was placed. |
||||||||||||||||
vatTotal read-only |
The amount of VAT calculated for and applied to this order. |
API errors come in two kinds of varieties: 400
s and 500
s.
Any error with a status code of 400
to 499
is considered a client error. This means it’s usually an error you can handle in your app, and then resend a modified request to the ShootProof API to get a successful response.
An error in the range of 500
to 599
, on the other hand, is a different story. These errors usually mean that a problem occured on the server and resending the request with modifications will not fix the issue.
Pay careful attention to the status codes. We try to stick as close as possible to their defined semantics. For a complete list of HTTP status codes, take a look at the official HTTP Status Code Registry.
Check out our errors guide for more information.
When the Content-Type
of the response is application/problem+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
A longer description of of the error encountered. |
||||||||||||
info |
Additional information that may be provided to aid in error resolution.
|
||||||||||||
status |
The HTTP status code associated with this error. |
||||||||||||
title |
A short description of the error encountered. |
||||||||||||
type |
A namespace URI uniquely identifying the error type. |
{
"detail": "There was a problem with your request. Please see `info` for more information.",
"info": {
"errors": {
"type": {
"isEmpty": "Value is required and can't be empty"
}
}
},
"status": 400,
"title": "Bad Request",
"type": "https://developer.shootproof.com/errors#error-bad-request"
}
{
"detail": "You do not have permission to access the requested resource.",
"status": 403,
"title": "Forbidden",
"type": "https://developer.shootproof.com/errors#error-forbidden"
}
{
"detail": "The requested resource could not be found.",
"status": 404,
"title": "Not Found",
"type": "https://developer.shootproof.com/errors#error-not-found"
}
{
"detail": "An error occurred on the server. If this error continues to occur, please contact support.",
"status": 500,
"title": "Internal Server Error",
"type": "https://developer.shootproof.com/errors#error-server-error"
}
{
"detail": "No authorization credentials provided. You must provide an authorization token for this request.",
"status": 401,
"title": "Unauthorized",
"type": "https://developer.shootproof.com/errors#error-unauthorized"
}
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/Order"
}
}
},
"description": "An order"
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Updates the provided fields on the order, except those indicated as readOnly
.
/studio/brand/{brandId}/order/{orderId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
The order object to update. Only provide those properties that need updating.
Property | Description | ||||||
---|---|---|---|---|---|---|---|
billingAddress required nullable |
The billing address for this order. |
||||||
clientNote nullable |
Client submitted note, added by the client/customer when the order was placed. |
||||||
customStatus nullable |
A custom order status provided by the studio |
||||||
customerEmail |
The email address of the customer having billing responsibility for this order. |
||||||
customerPhone nullable |
The phone number submitted with the order. |
||||||
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||
notes |
Order notes.
|
||||||
orderStatus nullable |
The slug string name of the current status of this order. See |
||||||
pickupAtStudio |
Flag indicating whether the order will be picked up at the studio in lieu of being shipped. Applies to self fulfilled items or items drop shipped from lab to studio. |
||||||
shippingAddress required nullable |
The address this order should be shipped to. |
||||||
shippingCharge |
Amount charged by the studio to the customer for shipping of this order. |
||||||
studioNote nullable |
Studio submitted note, added by the studio owner/user when updating an order. |
||||||
tags |
Tags describing this order. |
||||||
type |
The model type for the response object. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderInUpdate"
}
}
},
"description": "The order object to update. Only provide those properties that need\nupdating.",
"required": true
}
200 OK
The successfully-updated order.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adjustment nullable read-only |
Amount of adjustment applied to this order. Positive number which is always subtracted from subtotal. Derived from the sum of discount amounts. |
||||||||||||||||
balanceDue read-only |
The amount of the balance presently due on this order. Should equal the sum of grand total and adjustments minus payments. This is a calculated property. @TODO: remove? |
||||||||||||||||
billingAddress required nullable |
The billing address for this order. |
||||||||||||||||
clientNote nullable |
Client submitted note, added by the client/customer when the order was placed. |
||||||||||||||||
clientSelectedShippingId nullable |
Shipping option that the client chose at checkout. This field is readOnly in update requests. |
||||||||||||||||
combinedOrder read-only |
Indicates whether this order was created by combining multiple orders. |
||||||||||||||||
created read-only |
The creation date of this order. |
||||||||||||||||
currencyCode read-only |
Currency code for the currency all order amounts are expressed in. |
||||||||||||||||
currencySymbol read-only |
Currency symbol of the currency all order amounts are expressed in. |
||||||||||||||||
customStatus nullable |
A custom order status provided by the studio |
||||||||||||||||
customerCropSelected read-only |
Whether this order contains items having a customer defined crop. |
||||||||||||||||
customerEmail |
The email address of the customer having billing responsibility for this order. |
||||||||||||||||
customerName nullable read-only |
The name of the customer having billing responsibility for this order. Read-only because it's a property of the customer's address, not the Order object itself. |
||||||||||||||||
customerPhone nullable |
The phone number submitted with the order. |
||||||||||||||||
digitalDownloadDate nullable read-only |
Important: this property returns mock data. See example. The date on which the digital order items were downloaded by the customer. Null if |
||||||||||||||||
digitalSentDate read-only |
Important: this property returns mock data. See example. The date on which the digital order items were sent to the customer. Null if |
||||||||||||||||
digitalStatus nullable read-only |
String slug representation of the current digital status of this order. Null if |
||||||||||||||||
eventId nullable deprecated |
The identifier for the event this order originates from. This can only be null if the order is part of a combined order. This field is read-only in update requests. |
||||||||||||||||
eventName nullable read-only deprecated |
The name of the event this order originates from. |
||||||||||||||||
fulfillmentTypes read-only |
Array of slugs descriptions of the order fulfillment types. An order may have one or more fulfillment types. Determined by the items in the order. |
||||||||||||||||
grandTotal read-only |
The order grand total value, in the currency selected by the order's currencyCode. Grand total is calculated by adding the item price for each item and item option, subtracting discounts and applying tax. Grand total is fixed to the time when order was placed by the customer. |
||||||||||||||||
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||||||
isPaid read-only deprecated |
The This property is deprecated and may be removed in the future. |
||||||||||||||||
itemCount read-only |
The number of items on this order. |
||||||||||||||||
labApprovedByStudioDate nullable read-only |
The date on which this order was approved for processing by lab. |
||||||||||||||||
labCatalogId nullable |
Identifier of the lab catalog containing the items which comprise this order. This field is readOnly in update requests. |
||||||||||||||||
labId nullable read-only |
The id of the lab fulfilling the order. |
||||||||||||||||
labName nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
labReceipts read-only |
Collection of records of lab receipts of orders.
|
||||||||||||||||
labShipments read-only |
Lab shipments associated with this order
|
||||||||||||||||
labStatus nullable read-only |
The slug string name of the current status of lab fulfilled orders. Null if order is studio-fulfilled. Alternately referred to as |
||||||||||||||||
labSubmittedDate nullable read-only |
The date on which this order's lab fulfilled items were submitted to the lab for fulfillment. |
||||||||||||||||
links required read-only |
Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name. |
||||||||||||||||
orderStatus nullable |
The slug string name of the current status of this order. See |
||||||||||||||||
origin read-only |
Indicates whether the order was placed by the studio or by their client. |
||||||||||||||||
parentOrderId nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
paymentStatus read-only |
The slug string name of the current payment status of this order. When the Order contains payments having a sum of not more than $0, the |
||||||||||||||||
pickupAtStudio |
Flag indicating whether the order will be picked up at the studio in lieu of being shipped. Applies to self fulfilled items or items drop shipped from lab to studio. |
||||||||||||||||
profitReleaseDate nullable read-only |
The date and time when order funds were released to the studio. Null if not applicable. |
||||||||||||||||
profitReleased read-only |
Flag indicating whether the order's profit has been released. Funds are released to studio after 5 days, at which point this will be true. Null if not applicable, only applicable when payment gateway is ShootProof Payments. |
||||||||||||||||
retouchRequested beta nullable read-only |
Indicates whether the customer has requested retouching on the order. |
||||||||||||||||
roesOrderId nullable read-only |
The identifier for the order as recognized by ROES, if applicable. |
||||||||||||||||
salesTax read-only |
Amount of sales tax applied to this order. |
||||||||||||||||
salesTaxOnDigitals read-only |
Flag indicating whether or not sales tax is applied to digital download items in this order. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxOnShipping read-only |
Flag indicating whether or not sales tax is applied to the shipping amount. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxPercent read-only |
The percentage used to calculate sales tax amount. |
||||||||||||||||
salesTaxStateId nullable read-only |
The 2 character code identifying the US state for which sales tax is being applied. |
||||||||||||||||
salesTaxTitle nullable read-only |
The human readable string labeling the sales tax amount. This is the sales tax label in use on the price sheet at the time the order was placed. |
||||||||||||||||
shippingAddress required nullable |
The address this order should be shipped to. |
||||||||||||||||
shippingCharge |
Amount charged by the studio to the customer for shipping of this order. |
||||||||||||||||
studioNote nullable |
Studio submitted note, added by the studio owner/user when updating an order. |
||||||||||||||||
tags |
Tags describing this order. |
||||||||||||||||
type |
The model type for the response object. |
||||||||||||||||
vatNumber nullable read-only |
VAT number from the price sheet at the time the order was placed. |
||||||||||||||||
vatTotal read-only |
The amount of VAT calculated for and applied to this order. |
400 Bad Request
Validation error response. Check the info.errors
property in the response for more details.
When the Content-Type
of the response is application/problem+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
A longer description of of the error encountered. |
||||||||||||||
info |
Additional information that may be provided to aid in error resolution.
|
||||||||||||||
status |
The HTTP status code associated with this error. |
||||||||||||||
title |
A short description of the error encountered. |
||||||||||||||
type |
A namespace URI uniquely identifying the error type. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/Order"
}
}
},
"description": "The successfully-updated order."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Sends an email receipt with details of the order, items, and transaction(s) to a single recipient. This can be the order customerEmail
, or any other valid address. An optional message can be sent with the receipt.
/studio/brand/{brandId}/order/{orderId}/email
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
The order email object used to send an email message.
Property | Description |
---|---|
body |
The message to include in the body of the email. |
recipientEmails |
Email address(es) to send the email to. If provided, must be an array of valid email addresses. Optional, but may be required by child schemas. |
subject |
The subject line for the email message. |
type |
The type of resource represented. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/BasicEmailMessage",
"description": "An email message to a recipient with a receipt and details about\ntheir order.",
"type": "object"
}
}
},
"description": "The order email object used to send an email message.",
"required": true
}
202 Accepted
Responds with the order on success.
Header | Description |
---|---|
Content-Location |
The URL of the order in the response body. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
adjustment nullable read-only |
Amount of adjustment applied to this order. Positive number which is always subtracted from subtotal. Derived from the sum of discount amounts. |
||||||||||||||||
balanceDue read-only |
The amount of the balance presently due on this order. Should equal the sum of grand total and adjustments minus payments. This is a calculated property. @TODO: remove? |
||||||||||||||||
billingAddress required nullable |
The billing address for this order. |
||||||||||||||||
clientNote nullable |
Client submitted note, added by the client/customer when the order was placed. |
||||||||||||||||
clientSelectedShippingId nullable |
Shipping option that the client chose at checkout. This field is readOnly in update requests. |
||||||||||||||||
combinedOrder read-only |
Indicates whether this order was created by combining multiple orders. |
||||||||||||||||
created read-only |
The creation date of this order. |
||||||||||||||||
currencyCode read-only |
Currency code for the currency all order amounts are expressed in. |
||||||||||||||||
currencySymbol read-only |
Currency symbol of the currency all order amounts are expressed in. |
||||||||||||||||
customStatus nullable |
A custom order status provided by the studio |
||||||||||||||||
customerCropSelected read-only |
Whether this order contains items having a customer defined crop. |
||||||||||||||||
customerEmail |
The email address of the customer having billing responsibility for this order. |
||||||||||||||||
customerName nullable read-only |
The name of the customer having billing responsibility for this order. Read-only because it's a property of the customer's address, not the Order object itself. |
||||||||||||||||
customerPhone nullable |
The phone number submitted with the order. |
||||||||||||||||
digitalDownloadDate nullable read-only |
Important: this property returns mock data. See example. The date on which the digital order items were downloaded by the customer. Null if |
||||||||||||||||
digitalSentDate read-only |
Important: this property returns mock data. See example. The date on which the digital order items were sent to the customer. Null if |
||||||||||||||||
digitalStatus nullable read-only |
String slug representation of the current digital status of this order. Null if |
||||||||||||||||
eventId nullable deprecated |
The identifier for the event this order originates from. This can only be null if the order is part of a combined order. This field is read-only in update requests. |
||||||||||||||||
eventName nullable read-only deprecated |
The name of the event this order originates from. |
||||||||||||||||
fulfillmentTypes read-only |
Array of slugs descriptions of the order fulfillment types. An order may have one or more fulfillment types. Determined by the items in the order. |
||||||||||||||||
grandTotal read-only |
The order grand total value, in the currency selected by the order's currencyCode. Grand total is calculated by adding the item price for each item and item option, subtracting discounts and applying tax. Grand total is fixed to the time when order was placed by the customer. |
||||||||||||||||
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||||||
isPaid read-only deprecated |
The This property is deprecated and may be removed in the future. |
||||||||||||||||
itemCount read-only |
The number of items on this order. |
||||||||||||||||
labApprovedByStudioDate nullable read-only |
The date on which this order was approved for processing by lab. |
||||||||||||||||
labCatalogId nullable |
Identifier of the lab catalog containing the items which comprise this order. This field is readOnly in update requests. |
||||||||||||||||
labId nullable read-only |
The id of the lab fulfilling the order. |
||||||||||||||||
labName nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
labReceipts read-only |
Collection of records of lab receipts of orders.
|
||||||||||||||||
labShipments read-only |
Lab shipments associated with this order
|
||||||||||||||||
labStatus nullable read-only |
The slug string name of the current status of lab fulfilled orders. Null if order is studio-fulfilled. Alternately referred to as |
||||||||||||||||
labSubmittedDate nullable read-only |
The date on which this order's lab fulfilled items were submitted to the lab for fulfillment. |
||||||||||||||||
links required read-only |
Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name. |
||||||||||||||||
orderStatus nullable |
The slug string name of the current status of this order. See |
||||||||||||||||
origin read-only |
Indicates whether the order was placed by the studio or by their client. |
||||||||||||||||
parentOrderId nullable read-only deprecated |
Deprecated. Please use the |
||||||||||||||||
paymentStatus read-only |
The slug string name of the current payment status of this order. When the Order contains payments having a sum of not more than $0, the |
||||||||||||||||
pickupAtStudio |
Flag indicating whether the order will be picked up at the studio in lieu of being shipped. Applies to self fulfilled items or items drop shipped from lab to studio. |
||||||||||||||||
profitReleaseDate nullable read-only |
The date and time when order funds were released to the studio. Null if not applicable. |
||||||||||||||||
profitReleased read-only |
Flag indicating whether the order's profit has been released. Funds are released to studio after 5 days, at which point this will be true. Null if not applicable, only applicable when payment gateway is ShootProof Payments. |
||||||||||||||||
retouchRequested beta nullable read-only |
Indicates whether the customer has requested retouching on the order. |
||||||||||||||||
roesOrderId nullable read-only |
The identifier for the order as recognized by ROES, if applicable. |
||||||||||||||||
salesTax read-only |
Amount of sales tax applied to this order. |
||||||||||||||||
salesTaxOnDigitals read-only |
Flag indicating whether or not sales tax is applied to digital download items in this order. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxOnShipping read-only |
Flag indicating whether or not sales tax is applied to the shipping amount. As indicated on the price sheet at the time the order was placed. |
||||||||||||||||
salesTaxPercent read-only |
The percentage used to calculate sales tax amount. |
||||||||||||||||
salesTaxStateId nullable read-only |
The 2 character code identifying the US state for which sales tax is being applied. |
||||||||||||||||
salesTaxTitle nullable read-only |
The human readable string labeling the sales tax amount. This is the sales tax label in use on the price sheet at the time the order was placed. |
||||||||||||||||
shippingAddress required nullable |
The address this order should be shipped to. |
||||||||||||||||
shippingCharge |
Amount charged by the studio to the customer for shipping of this order. |
||||||||||||||||
studioNote nullable |
Studio submitted note, added by the studio owner/user when updating an order. |
||||||||||||||||
tags |
Tags describing this order. |
||||||||||||||||
type |
The model type for the response object. |
||||||||||||||||
vatNumber nullable read-only |
VAT number from the price sheet at the time the order was placed. |
||||||||||||||||
vatTotal read-only |
The amount of VAT calculated for and applied to this order. |
400 Bad Request
Validation error response. Check the info.errors
property in the response for more details.
When the Content-Type
of the response is application/problem+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
A longer description of of the error encountered. |
||||||||||||||
info |
Additional information that may be provided to aid in error resolution.
|
||||||||||||||
status |
The HTTP status code associated with this error. |
||||||||||||||
title |
A short description of the error encountered. |
||||||||||||||
type |
A namespace URI uniquely identifying the error type. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"202": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/Order"
}
}
},
"description": "Responds with the order on success.",
"headers": {
"Content-Location": {
"description": "The URL of the order in the response body.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Returns a list of all order items for the current order. Query string parameters may be used to affect the response, including pagination, sorting, and filtering.
/studio/brand/{brandId}/order/{orderId}/item
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
200 OK
Order item list response.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items |
A collection of resources returned in the current result set.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
links required read-only |
Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
meta read-only |
Metadata describing the current result set.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type |
The model type for the list response object. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItemCollection"
}
}
},
"description": "Order item list response."
}
}
Creates a new order item for each photoId present in the request, responding with the newly created order item.
/studio/brand/{brandId}/order/{orderId}/item
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
The order item object to create.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
altDisplayName |
The (optional) alternate display name for this item. |
||||||||||||
cropData required nullable |
Defaults to center crop, overwritten by
|
||||||||||||
eventAlbumId |
The ID of the album containing the photo(s) making up this order item. |
||||||||||||
filterType |
Filter applied to the photo for creation of this item. |
||||||||||||
labCatalogProductId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
name |
The human readable item name. Should be derived from the names of the item group and add on group names. |
||||||||||||
origin |
Indicates the origin of the item in the order. Default is |
||||||||||||
photoId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
quantity |
Number of instances of this item appearing in the order. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItem"
}
}
},
"description": "The order item object to create.",
"required": true
}
200 OK
The order that owns the successfully-created order item(s).
Header | Description |
---|---|
Content-Location |
The canonical URL of the order that the newly created items belong to. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
albumPath read-only |
The string path through the album hierarchy to the album containing the photo this item is based on. Captured at order creation time. |
||||||||||||
altDisplayName |
The (optional) alternate display name for this item. |
||||||||||||
approved read-only |
Flag indicating whether this item has been marked as |
||||||||||||
approvedDate nullable read-only |
The date the item was approved. |
||||||||||||
clientCropData required nullable read-only |
Customer selected crop data, overwrites default crop if provided. |
||||||||||||
clientNotes read-only |
Notes provided by the customer when they added the item to the order. |
||||||||||||
created nullable read-only |
The date on which this item was added to the order. |
||||||||||||
cropData required nullable |
Defaults to center crop, overwritten by
|
||||||||||||
digitalDownloadPixels read-only |
Max pixel dimension of the digital download. |
||||||||||||
digitalDownloadTypeId read-only |
Ref ID noting the digital download type. |
||||||||||||
eventAlbumId |
The ID of the album containing the photo(s) making up this order item. |
||||||||||||
filterType |
Filter applied to the photo for creation of this item. |
||||||||||||
fulfillmentType read-only |
Slugs description of the order item fulfillment type. |
||||||||||||
groupId read-only |
The UUID of the price sheet categorization group to which this item belongs. |
||||||||||||
groupName read-only |
The name of the price sheet categorization group to which this item belongs. |
||||||||||||
id read-only |
The identifier for this order item, a UUID. |
||||||||||||
isAlbumFiles read-only |
Flags whether the object is comprised of all photo files in the album. |
||||||||||||
isAllFiles read-only |
Flags whether the object is comprised of all photo files in the event. |
||||||||||||
isLowPhotoDpi nullable read-only |
Flag to indicate whether the photo DPI is beneath the threshold for low DPI ( |
||||||||||||
labCatalogProductId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
labProductRetailPrice read-only |
The retail price of this item in the lab catalog. |
||||||||||||
name |
The human readable item name. Should be derived from the names of the item group and add on group names. |
||||||||||||
origin |
Indicates the origin of the item in the order. Default is |
||||||||||||
originalPrice read-only |
Pre-discount retail price of the item. |
||||||||||||
photo read-only |
The item's photo. May return an order-photo or an event-photo resource. |
||||||||||||
photoDpi nullable read-only |
The photo DPI for this item, function of photo's pixel dimensions and item size. |
||||||||||||
photoId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
price read-only |
The item price. This value is calculated as the sum of each item add-on's price. |
||||||||||||
quantity |
Number of instances of this item appearing in the order. |
||||||||||||
size read-only |
The item size, expressed in terms of x1, y1, x2, y2 (top left, bottom right, in inches). |
||||||||||||
status read-only |
The item status. |
400 Bad Request
Validation error response. Check the info.errors
property in the response for more details.
When the Content-Type
of the response is application/problem+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
A longer description of of the error encountered. |
||||||||||||||
info |
Additional information that may be provided to aid in error resolution.
|
||||||||||||||
status |
The HTTP status code associated with this error. |
||||||||||||||
title |
A short description of the error encountered. |
||||||||||||||
type |
A namespace URI uniquely identifying the error type. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItem"
}
}
},
"description": "The order that owns the successfully-created order item(s).",
"headers": {
"Content-Location": {
"description": "The canonical URL of the order that the newly created items belong to.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
/studio/brand/{brandId}/order/{orderId}/item/{orderItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
orderItemId required |
The order item identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
204 No Content
Successful deletion response.
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"204": {
"description": "Successful deletion response."
}
}
Returns a single order item by its ID
/studio/brand/{brandId}/order/{orderId}/item/{orderItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
orderItemId required |
The order item identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
200 OK
Order item response.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
albumPath read-only |
The string path through the album hierarchy to the album containing the photo this item is based on. Captured at order creation time. |
||||||||||||
altDisplayName |
The (optional) alternate display name for this item. |
||||||||||||
approved read-only |
Flag indicating whether this item has been marked as |
||||||||||||
approvedDate nullable read-only |
The date the item was approved. |
||||||||||||
clientCropData required nullable read-only |
Customer selected crop data, overwrites default crop if provided. |
||||||||||||
clientNotes read-only |
Notes provided by the customer when they added the item to the order. |
||||||||||||
created nullable read-only |
The date on which this item was added to the order. |
||||||||||||
cropData required nullable |
Defaults to center crop, overwritten by
|
||||||||||||
digitalDownloadPixels read-only |
Max pixel dimension of the digital download. |
||||||||||||
digitalDownloadTypeId read-only |
Ref ID noting the digital download type. |
||||||||||||
eventAlbumId |
The ID of the album containing the photo(s) making up this order item. |
||||||||||||
filterType |
Filter applied to the photo for creation of this item. |
||||||||||||
fulfillmentType read-only |
Slugs description of the order item fulfillment type. |
||||||||||||
groupId read-only |
The UUID of the price sheet categorization group to which this item belongs. |
||||||||||||
groupName read-only |
The name of the price sheet categorization group to which this item belongs. |
||||||||||||
id read-only |
The identifier for this order item, a UUID. |
||||||||||||
isAlbumFiles read-only |
Flags whether the object is comprised of all photo files in the album. |
||||||||||||
isAllFiles read-only |
Flags whether the object is comprised of all photo files in the event. |
||||||||||||
isLowPhotoDpi nullable read-only |
Flag to indicate whether the photo DPI is beneath the threshold for low DPI ( |
||||||||||||
labCatalogProductId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
labProductRetailPrice read-only |
The retail price of this item in the lab catalog. |
||||||||||||
name |
The human readable item name. Should be derived from the names of the item group and add on group names. |
||||||||||||
origin |
Indicates the origin of the item in the order. Default is |
||||||||||||
originalPrice read-only |
Pre-discount retail price of the item. |
||||||||||||
photo read-only |
The item's photo. May return an order-photo or an event-photo resource. |
||||||||||||
photoDpi nullable read-only |
The photo DPI for this item, function of photo's pixel dimensions and item size. |
||||||||||||
photoId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
price read-only |
The item price. This value is calculated as the sum of each item add-on's price. |
||||||||||||
quantity |
Number of instances of this item appearing in the order. |
||||||||||||
size read-only |
The item size, expressed in terms of x1, y1, x2, y2 (top left, bottom right, in inches). |
||||||||||||
status read-only |
The item status. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItem"
}
}
},
"description": "Order item response."
}
}
/studio/brand/{brandId}/order/{orderId}/item/{orderItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
orderItemId required |
The order item identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
The order item object to update. Only provide those properties that need updating.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
altDisplayName |
The (optional) alternate display name for this item. |
||||||||||||
cropData required nullable |
Defaults to center crop, overwritten by
|
||||||||||||
eventAlbumId |
The ID of the album containing the photo(s) making up this order item. |
||||||||||||
filterType |
Filter applied to the photo for creation of this item. |
||||||||||||
labCatalogProductId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
name |
The human readable item name. Should be derived from the names of the item group and add on group names. |
||||||||||||
origin |
Indicates the origin of the item in the order. Default is |
||||||||||||
photoId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
quantity |
Number of instances of this item appearing in the order. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItem"
}
}
},
"description": "The order item object to update. Only provide those properties that\nneed updating.",
"required": true
}
200 OK
The successfully-updated order item.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
albumPath read-only |
The string path through the album hierarchy to the album containing the photo this item is based on. Captured at order creation time. |
||||||||||||
altDisplayName |
The (optional) alternate display name for this item. |
||||||||||||
approved read-only |
Flag indicating whether this item has been marked as |
||||||||||||
approvedDate nullable read-only |
The date the item was approved. |
||||||||||||
clientCropData required nullable read-only |
Customer selected crop data, overwrites default crop if provided. |
||||||||||||
clientNotes read-only |
Notes provided by the customer when they added the item to the order. |
||||||||||||
created nullable read-only |
The date on which this item was added to the order. |
||||||||||||
cropData required nullable |
Defaults to center crop, overwritten by
|
||||||||||||
digitalDownloadPixels read-only |
Max pixel dimension of the digital download. |
||||||||||||
digitalDownloadTypeId read-only |
Ref ID noting the digital download type. |
||||||||||||
eventAlbumId |
The ID of the album containing the photo(s) making up this order item. |
||||||||||||
filterType |
Filter applied to the photo for creation of this item. |
||||||||||||
fulfillmentType read-only |
Slugs description of the order item fulfillment type. |
||||||||||||
groupId read-only |
The UUID of the price sheet categorization group to which this item belongs. |
||||||||||||
groupName read-only |
The name of the price sheet categorization group to which this item belongs. |
||||||||||||
id read-only |
The identifier for this order item, a UUID. |
||||||||||||
isAlbumFiles read-only |
Flags whether the object is comprised of all photo files in the album. |
||||||||||||
isAllFiles read-only |
Flags whether the object is comprised of all photo files in the event. |
||||||||||||
isLowPhotoDpi nullable read-only |
Flag to indicate whether the photo DPI is beneath the threshold for low DPI ( |
||||||||||||
labCatalogProductId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
labProductRetailPrice read-only |
The retail price of this item in the lab catalog. |
||||||||||||
name |
The human readable item name. Should be derived from the names of the item group and add on group names. |
||||||||||||
origin |
Indicates the origin of the item in the order. Default is |
||||||||||||
originalPrice read-only |
Pre-discount retail price of the item. |
||||||||||||
photo read-only |
The item's photo. May return an order-photo or an event-photo resource. |
||||||||||||
photoDpi nullable read-only |
The photo DPI for this item, function of photo's pixel dimensions and item size. |
||||||||||||
photoId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
price read-only |
The item price. This value is calculated as the sum of each item add-on's price. |
||||||||||||
quantity |
Number of instances of this item appearing in the order. |
||||||||||||
size read-only |
The item size, expressed in terms of x1, y1, x2, y2 (top left, bottom right, in inches). |
||||||||||||
status read-only |
The item status. |
400 Bad Request
Validation error response. Check the info.errors
property in the response for more details.
When the Content-Type
of the response is application/problem+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
A longer description of of the error encountered. |
||||||||||||||
info |
Additional information that may be provided to aid in error resolution.
|
||||||||||||||
status |
The HTTP status code associated with this error. |
||||||||||||||
title |
A short description of the error encountered. |
||||||||||||||
type |
A namespace URI uniquely identifying the error type. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItem"
}
}
},
"description": "The successfully-updated order item."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
/studio/brand/{brandId}/order/{orderId}/item/{orderItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
orderItemId required |
The order item identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
The order item object to update.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
altDisplayName |
The (optional) alternate display name for this item. |
||||||||||||
cropData required nullable |
Defaults to center crop, overwritten by
|
||||||||||||
eventAlbumId |
The ID of the album containing the photo(s) making up this order item. |
||||||||||||
filterType |
Filter applied to the photo for creation of this item. |
||||||||||||
labCatalogProductId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
name |
The human readable item name. Should be derived from the names of the item group and add on group names. |
||||||||||||
origin |
Indicates the origin of the item in the order. Default is |
||||||||||||
photoId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
quantity |
Number of instances of this item appearing in the order. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItem"
}
}
},
"description": "The order item object to update.",
"required": true
}
200 OK
The successfully-updated order item.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
albumPath read-only |
The string path through the album hierarchy to the album containing the photo this item is based on. Captured at order creation time. |
||||||||||||
altDisplayName |
The (optional) alternate display name for this item. |
||||||||||||
approved read-only |
Flag indicating whether this item has been marked as |
||||||||||||
approvedDate nullable read-only |
The date the item was approved. |
||||||||||||
clientCropData required nullable read-only |
Customer selected crop data, overwrites default crop if provided. |
||||||||||||
clientNotes read-only |
Notes provided by the customer when they added the item to the order. |
||||||||||||
created nullable read-only |
The date on which this item was added to the order. |
||||||||||||
cropData required nullable |
Defaults to center crop, overwritten by
|
||||||||||||
digitalDownloadPixels read-only |
Max pixel dimension of the digital download. |
||||||||||||
digitalDownloadTypeId read-only |
Ref ID noting the digital download type. |
||||||||||||
eventAlbumId |
The ID of the album containing the photo(s) making up this order item. |
||||||||||||
filterType |
Filter applied to the photo for creation of this item. |
||||||||||||
fulfillmentType read-only |
Slugs description of the order item fulfillment type. |
||||||||||||
groupId read-only |
The UUID of the price sheet categorization group to which this item belongs. |
||||||||||||
groupName read-only |
The name of the price sheet categorization group to which this item belongs. |
||||||||||||
id read-only |
The identifier for this order item, a UUID. |
||||||||||||
isAlbumFiles read-only |
Flags whether the object is comprised of all photo files in the album. |
||||||||||||
isAllFiles read-only |
Flags whether the object is comprised of all photo files in the event. |
||||||||||||
isLowPhotoDpi nullable read-only |
Flag to indicate whether the photo DPI is beneath the threshold for low DPI ( |
||||||||||||
labCatalogProductId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
labProductRetailPrice read-only |
The retail price of this item in the lab catalog. |
||||||||||||
name |
The human readable item name. Should be derived from the names of the item group and add on group names. |
||||||||||||
origin |
Indicates the origin of the item in the order. Default is |
||||||||||||
originalPrice read-only |
Pre-discount retail price of the item. |
||||||||||||
photo read-only |
The item's photo. May return an order-photo or an event-photo resource. |
||||||||||||
photoDpi nullable read-only |
The photo DPI for this item, function of photo's pixel dimensions and item size. |
||||||||||||
photoId |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||||||||
price read-only |
The item price. This value is calculated as the sum of each item add-on's price. |
||||||||||||
quantity |
Number of instances of this item appearing in the order. |
||||||||||||
size read-only |
The item size, expressed in terms of x1, y1, x2, y2 (top left, bottom right, in inches). |
||||||||||||
status read-only |
The item status. |
400 Bad Request
Validation error response. Check the info.errors
property in the response for more details.
When the Content-Type
of the response is application/problem+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
detail |
A longer description of of the error encountered. |
||||||||||||||
info |
Additional information that may be provided to aid in error resolution.
|
||||||||||||||
status |
The HTTP status code associated with this error. |
||||||||||||||
title |
A short description of the error encountered. |
||||||||||||||
type |
A namespace URI uniquely identifying the error type. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderItem"
}
}
},
"description": "The successfully-updated order item."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Returns a list of client payments for an order.
/studio/brand/{brandId}/order/{orderId}/payment
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
orderId required |
The order identifier. |
Property | Description |
---|---|
Authentication required |
The bearer token used to make authenticated requests to the ShootProof Studio API. See the authorization guide for more information on how to obtain and use bearer tokens. |
200 OK
Order payment list response.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items |
A collection of resources returned in the current result set.
|
||||||||||||||||||||||||||||||||||||
links required read-only |
Each property defines a hypertext link relationship as indicated by a link object or array of link objects. The target URL of each hypertext link relationship is related to the current resource according to the defined semantics of the link relationship property name. |
||||||||||||||||||||||||||||||||||||
meta read-only |
Metadata describing the current result set.
|
||||||||||||||||||||||||||||||||||||
type |
The model type for the list response object. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"200": {
"content": {
"application/vnd.shootproof+json": {
"schema": {
"$ref": "#/components/schemas/OrderClientPaymentCollection"
}
}
},
"description": "Order payment list response."
}
}