Studios set up prices for an event’s products through price sheets, which may or may not be tied to a lab catalog. The ShootProof API allows your app to help photography studios manage price sheets and attach them to events.
Returns a list of all lab catalogs for the brand.
Query string parameters may be used to affect the response, including pagination, sorting, and filtering.
/studio/brand/{brandId}/lab-catalog
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. |
200 OK
Lab catalog 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 type of resource represented. |
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/LabCatalogCollection"
}
}
},
"description": "Lab catalog list response."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Returns a single lab catalog object for the brand by id.
/studio/brand/{brandId}/lab-catalog/{labCatalogId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
labCatalogId required |
The lab catalog 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
A lab catalog object.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
boundsDisplaySort |
Returns a slug that denotes whether width precedes height (or vice versa) when displaying bounds (e.g. 8" x 10" vs 10" x 8"). |
currencyCode nullable |
The type of currency used for this lab catalog, or |
currencySymbol nullable |
The currency symbol for the type of currency used for this lab catalog. |
description deprecated |
Derived in the lab catalog transformer. Deprecated due to lack of translation. |
id nullable |
The identifier for this lab catalog, or |
isLabFulfilled |
Whether this represents a catalog of lab-fulfilled items. |
lab nullable |
The lab to which this lab catalog belongs, or |
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. |
type |
The type of resource represented. |
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/LabCatalog"
}
}
},
"description": "A lab catalog object."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Returns a list of all lab catalog groups for the lab catalog.
Query string parameters may be used to affect the response, including pagination and sorting.
/studio/brand/{brandId}/lab-catalog/{labCatalogId}/group
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
labCatalogId required |
The lab catalog 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
Lab Catalog Group 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 type of resource represented. |
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/LabCatalogGroupCollection"
}
}
},
"description": "Lab Catalog Group list response."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
/studio/brand/{brandId}/lab-catalog/{labCatalogId}/group/{labCatalogGroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
labCatalogGroupId required |
The lab catalog group identifier. |
labCatalogId required |
The lab catalog 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
The lab catalog group
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
description nullable |
Display text shown to the user in order to give them information concerning the group and the type of products which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a lab catalog. |
id |
The identifier for the lab catalog group. |
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. |
name |
The name of the lab catalog group. |
type |
The type of resource represented. |
404 Not Found
The requested resource could not be found.
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. |
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/LabCatalogGroup"
}
}
},
"description": "The lab catalog group"
},
"404": {
"$ref": "#/components/responses/notFoundError"
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Returns a list of all lab catalog products for the lab catalog.
Query string parameters may be used to affect the response, including pagination, sorting, and filtering.
/studio/brand/{brandId}/lab-catalog/{labCatalogId}/product
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
labCatalogId required |
The lab catalog identifier. |
Property | Description |
---|---|
filterGroupType |
The type of group by which to filter the results. |
filterIsBestseller |
If provided and truthy, denotes that results should be filtered to only bestsellers. |
filterLabCatalogGroupId |
Group identifier by which to filter results. |
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
Lab Catalog Products 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 type of resource represented. |
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/LabCatalogProductCollection"
}
}
},
"description": "Lab Catalog Products list response."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
/studio/brand/{brandId}/lab-catalog/{labCatalogId}/product/{labCatalogProductId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
labCatalogId required |
The lab catalog identifier. |
labCatalogProductId required |
The lab catalog product 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
The lab catalog product
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
alternateDisplayName nullable |
An alternate name for the product. |
bounds |
A comma delimited list that specifies the product bounds. |
boundsName nullable |
The name given to the bounds description for the product. |
description nullable |
Display text shown to the user in order to give them information concerning the product. |
id |
The identifier for the lab catalog product. |
isBestseller |
Denotes if the item is a best seller, meaning that the product should appear in a new price sheet that is created with the 'Best Seller' option selected. |
labCatalogGroupId nullable |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
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. |
name |
The name of the lab catalog product. |
productSize nullable |
The size of the product in human readable terms. |
retailPrice |
A decimal value of the retail price of the product. |
type |
The type of resource represented. |
404 Not Found
The requested resource could not be found.
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. |
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/LabCatalogProduct"
}
}
},
"description": "The lab catalog product"
},
"404": {
"$ref": "#/components/responses/notFoundError"
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Returns a list of all lab catalog shipping options for the lab catalog.
Query string parameters may be used to affect the response, including pagination and sorting.
/studio/brand/{brandId}/lab-catalog/{labCatalogId}/shipping-option
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
labCatalogId required |
The lab catalog 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
Lab Catalog Shipping Option 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 type of resource represented. |
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/LabCatalogShippingOptionCollection"
}
}
},
"description": "Lab Catalog Shipping Option list response."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
/studio/brand/{brandId}/lab-catalog/{labCatalogId}/shipping-option/{labCatalogShippingOptionId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
labCatalogId required |
The lab catalog identifier. |
labCatalogShippingOptionId required |
The lab catalog shipping option 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
The lab catalog shipping option
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||
---|---|---|---|---|---|---|---|
citiesAvailable nullable |
An array of destination cities or localities where this shipping option is available. Applicable to couriers. |
||||||
countryCode nullable |
Two-character ISO-3166 code identifying the destination country where this shipping option is available. |
||||||
description nullable |
Display text shown to the user in order to give them information concerning the shipping option. |
||||||
hasTracking |
Is tracking available for this method? |
||||||
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
||||||
labShippingCode |
Code used by the lab to identify this shipping option. |
||||||
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. |
||||||
maximumLabCost |
A decimal value of the maximum lab cost available to utilize this shipping option, converted to the currency of the brand. |
||||||
maximumProductSize required nullable |
An object that specifies the maximum product size for this shipping option in inches.
|
||||||
minimumLabCost |
A decimal value of the minimum lab cost required to utilize this shipping option, converted to the currency of the brand. |
||||||
name |
The name of the lab catalog shipping option. |
||||||
printsOnly |
Is this option available only for prints? Applicable to postal services with package size/weight limits. |
||||||
retailPrice |
A decimal value of the retail price of the shipping option, converted to the currency of the brand. |
||||||
transitDays |
General description of number of transit days. |
||||||
type |
The type of resource represented. |
404 Not Found
The requested resource could not be found.
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. |
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/LabCatalogShippingOption"
}
}
},
"description": "The lab catalog shipping option"
},
"404": {
"$ref": "#/components/responses/notFoundError"
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Returns a list of all price sheets for the studio. Price sheets are shared across all brands in the studio.
Query string parameters may be used to affect the response, including pagination, sorting, and filtering.
/studio/brand/{brandId}/price-sheet
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. |
200 OK
Price sheet 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/PriceSheetCollection"
}
}
},
"description": "Price sheet list response."
}
}
Creates a new Price Sheet.
In order to duplicate an existing Price Sheet object, the request must contain a duplicatesId
parameter containing the ID of the Price Sheet that is to be duplicated. In this case, a request body is optional. When the request is submitted the request body will be merged onto the duplicated resource, replacing any properties.
/studio/brand/{brandId}/price-sheet
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
Property | Description |
---|---|
duplicatesId |
Price Sheet identifier to duplicate |
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 price sheet.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
allowLabShippingSpeedSelection |
Determines if the client should be allowed to select a shipping speed offered by the lab during checkout |
||||||||||
createdFromBestsellers |
Denotes if the price sheet was originally created with auto-populate items from the lab catalog's best seller's list. |
||||||||||
labCatalogId nullable |
The ID of the lab catalog which the price sheet is based on |
||||||||||
name |
The name of the price sheet. |
||||||||||
priceSheetGroups |
An array of group of items that are contained by the price sheet. |
||||||||||
retouch required nullable |
Setting for Retouch add-on, an optional add-on that is applied across all items of the price sheet.
|
||||||||||
salesTaxOnDigitalDownload |
Denotes if the sales tax should be applied to items which are solely a digital download. |
||||||||||
salesTaxOnShippingCharge |
Denotes if the sales tax should be applied to shipping fees. |
||||||||||
salesTaxPercentage nullable |
The percentage used to calculate the sales tax from an order subtotal. |
||||||||||
salesTaxStateId nullable |
An identifier signifying the state or locale where the sales tax is applicable. The identifier is a combination of the two letter country code and a two to three letter abbreviation of the state/locale separated by an underscore. |
||||||||||
salesTaxTitle nullable |
A name used to refer to the tax. |
||||||||||
selfFulfilledLabCatalogId nullable |
The ID of the self-fulfilled catalog which the price sheet uses. |
||||||||||
shippingOptions nullable |
An array of shipping options to be used when purchasing items from the price sheet.
|
||||||||||
shippingTitle nullable |
A descriptive title for shipping, such as "Shipping", "Shipping and Handling", etc. |
||||||||||
shippingType |
What type of shipping does the price sheet expect to use. |
||||||||||
taxProfileId nullable |
Id of a tax profile to associate with the price sheet. The properties of the tax profile such as tax rate, application to shipping/digital items, and localities will apply to items purchased from the price sheet. |
||||||||||
termsOfSale nullable |
Terms of sale which users must agree to before being allowed to purchase items from the price sheet. Providing a null removes any existing terms of sale. |
||||||||||
type |
The type of object represented. |
||||||||||
vatNumber nullable |
VAT identification number (VATIN) used by many EU and other countries for tax entity identification purposes. |
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/PriceSheet"
}
}
},
"description": "The price sheet.",
"required": true
}
201 Created
The successfully created price sheet object.
Header | Description |
---|---|
Location |
The URL to the newly-created price sheet object. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
allowLabShippingSpeedSelection |
Determines if the client should be allowed to select a shipping speed offered by the lab during checkout |
||||||||||
created read-only |
The creation date of this price sheet. |
||||||||||
createdFromBestsellers |
Denotes if the price sheet was originally created with auto-populate items from the lab catalog's best seller's list. |
||||||||||
id read-only |
The identifier for the price sheet. |
||||||||||
labCatalogId nullable |
The ID of the lab catalog which the price sheet is based on |
||||||||||
linkedCartsCount read-only |
The total number of carts containing items in the price sheet. |
||||||||||
linkedEventDefaultsCount read-only |
The total number of events defaults using this price sheet. |
||||||||||
linkedEventsCount read-only |
The total number of non-deleted events that are using the price sheet. |
||||||||||
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. |
||||||||||
name |
The name of the price sheet. |
||||||||||
packageCount read-only |
The total number of packages in the price sheet. |
||||||||||
priceSheetGroups |
An array of group of items that are contained by the price sheet. |
||||||||||
retouch required nullable |
Setting for Retouch add-on, an optional add-on that is applied across all items of the price sheet.
|
||||||||||
salesTaxOnDigitalDownload |
Denotes if the sales tax should be applied to items which are solely a digital download. |
||||||||||
salesTaxOnShippingCharge |
Denotes if the sales tax should be applied to shipping fees. |
||||||||||
salesTaxPercentage nullable |
The percentage used to calculate the sales tax from an order subtotal. |
||||||||||
salesTaxStateId nullable |
An identifier signifying the state or locale where the sales tax is applicable. The identifier is a combination of the two letter country code and a two to three letter abbreviation of the state/locale separated by an underscore. |
||||||||||
salesTaxTitle nullable |
A name used to refer to the tax. |
||||||||||
selfFulfilledLabCatalogId nullable |
The ID of the self-fulfilled catalog which the price sheet uses. |
||||||||||
shippingOptions nullable |
An array of shipping options to be used when purchasing items from the price sheet.
|
||||||||||
shippingTitle nullable |
A descriptive title for shipping, such as "Shipping", "Shipping and Handling", etc. |
||||||||||
shippingType |
What type of shipping does the price sheet expect to use. |
||||||||||
taxProfileId nullable |
Id of a tax profile to associate with the price sheet. The properties of the tax profile such as tax rate, application to shipping/digital items, and localities will apply to items purchased from the price sheet. |
||||||||||
termsOfSale nullable |
Terms of sale which users must agree to before being allowed to purchase items from the price sheet. Providing a null removes any existing terms of sale. |
||||||||||
type |
The type of object represented. |
||||||||||
vatNumber nullable |
VAT identification number (VATIN) used by many EU and other countries for tax entity identification purposes. |
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/PriceSheet"
}
}
},
"description": "The successfully created price sheet object.",
"headers": {
"Location": {
"description": "The URL to the newly-created price sheet object.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Changes the status of a studio's price sheet to deleted
.
/studio/brand/{brandId}/price-sheet/{priceSheetId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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 specific price sheet for the studio using the price sheet ID.
/studio/brand/{brandId}/price-sheet/{priceSheetId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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
A price sheet object.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
allowLabShippingSpeedSelection |
Determines if the client should be allowed to select a shipping speed offered by the lab during checkout |
||||||||||
created read-only |
The creation date of this price sheet. |
||||||||||
createdFromBestsellers |
Denotes if the price sheet was originally created with auto-populate items from the lab catalog's best seller's list. |
||||||||||
id read-only |
The identifier for the price sheet. |
||||||||||
labCatalogId nullable |
The ID of the lab catalog which the price sheet is based on |
||||||||||
linkedCartsCount read-only |
The total number of carts containing items in the price sheet. |
||||||||||
linkedEventDefaultsCount read-only |
The total number of events defaults using this price sheet. |
||||||||||
linkedEventsCount read-only |
The total number of non-deleted events that are using the price sheet. |
||||||||||
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. |
||||||||||
name |
The name of the price sheet. |
||||||||||
packageCount read-only |
The total number of packages in the price sheet. |
||||||||||
priceSheetGroups |
An array of group of items that are contained by the price sheet. |
||||||||||
retouch required nullable |
Setting for Retouch add-on, an optional add-on that is applied across all items of the price sheet.
|
||||||||||
salesTaxOnDigitalDownload |
Denotes if the sales tax should be applied to items which are solely a digital download. |
||||||||||
salesTaxOnShippingCharge |
Denotes if the sales tax should be applied to shipping fees. |
||||||||||
salesTaxPercentage nullable |
The percentage used to calculate the sales tax from an order subtotal. |
||||||||||
salesTaxStateId nullable |
An identifier signifying the state or locale where the sales tax is applicable. The identifier is a combination of the two letter country code and a two to three letter abbreviation of the state/locale separated by an underscore. |
||||||||||
salesTaxTitle nullable |
A name used to refer to the tax. |
||||||||||
selfFulfilledLabCatalogId nullable |
The ID of the self-fulfilled catalog which the price sheet uses. |
||||||||||
shippingOptions nullable |
An array of shipping options to be used when purchasing items from the price sheet.
|
||||||||||
shippingTitle nullable |
A descriptive title for shipping, such as "Shipping", "Shipping and Handling", etc. |
||||||||||
shippingType |
What type of shipping does the price sheet expect to use. |
||||||||||
taxProfileId nullable |
Id of a tax profile to associate with the price sheet. The properties of the tax profile such as tax rate, application to shipping/digital items, and localities will apply to items purchased from the price sheet. |
||||||||||
termsOfSale nullable |
Terms of sale which users must agree to before being allowed to purchase items from the price sheet. Providing a null removes any existing terms of sale. |
||||||||||
type |
The type of object represented. |
||||||||||
vatNumber nullable |
VAT identification number (VATIN) used by many EU and other countries for tax entity identification purposes. |
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/PriceSheet"
}
}
},
"description": "A price sheet object."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
This endpoint is still under development. A mocked update response will be returned, but the updates will not actually be saved. Updates the provided fields for the price sheet, exception those indicated as readOnly
.
/studio/brand/{brandId}/price-sheet/{priceSheetId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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 price sheet object to update. Only proviude those properties that need updating.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
allowLabShippingSpeedSelection |
Determines if the client should be allowed to select a shipping speed offered by the lab during checkout |
||||||||||
createdFromBestsellers |
Denotes if the price sheet was originally created with auto-populate items from the lab catalog's best seller's list. |
||||||||||
labCatalogId nullable |
The ID of the lab catalog which the price sheet is based on |
||||||||||
name |
The name of the price sheet. |
||||||||||
priceSheetGroups |
An array of group of items that are contained by the price sheet. |
||||||||||
retouch required nullable |
Setting for Retouch add-on, an optional add-on that is applied across all items of the price sheet.
|
||||||||||
salesTaxOnDigitalDownload |
Denotes if the sales tax should be applied to items which are solely a digital download. |
||||||||||
salesTaxOnShippingCharge |
Denotes if the sales tax should be applied to shipping fees. |
||||||||||
salesTaxPercentage nullable |
The percentage used to calculate the sales tax from an order subtotal. |
||||||||||
salesTaxStateId nullable |
An identifier signifying the state or locale where the sales tax is applicable. The identifier is a combination of the two letter country code and a two to three letter abbreviation of the state/locale separated by an underscore. |
||||||||||
salesTaxTitle nullable |
A name used to refer to the tax. |
||||||||||
selfFulfilledLabCatalogId nullable |
The ID of the self-fulfilled catalog which the price sheet uses. |
||||||||||
shippingOptions nullable |
An array of shipping options to be used when purchasing items from the price sheet.
|
||||||||||
shippingTitle nullable |
A descriptive title for shipping, such as "Shipping", "Shipping and Handling", etc. |
||||||||||
shippingType |
What type of shipping does the price sheet expect to use. |
||||||||||
taxProfileId nullable |
Id of a tax profile to associate with the price sheet. The properties of the tax profile such as tax rate, application to shipping/digital items, and localities will apply to items purchased from the price sheet. |
||||||||||
termsOfSale nullable |
Terms of sale which users must agree to before being allowed to purchase items from the price sheet. Providing a null removes any existing terms of sale. |
||||||||||
type |
The type of object represented. |
||||||||||
vatNumber nullable |
VAT identification number (VATIN) used by many EU and other countries for tax entity identification purposes. |
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/PriceSheet"
}
}
},
"description": "The price sheet object to update. Only proviude those properties that\nneed updating.",
"required": true
}
200 OK
The successfully updated price sheet.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
allowLabShippingSpeedSelection |
Determines if the client should be allowed to select a shipping speed offered by the lab during checkout |
||||||||||
created read-only |
The creation date of this price sheet. |
||||||||||
createdFromBestsellers |
Denotes if the price sheet was originally created with auto-populate items from the lab catalog's best seller's list. |
||||||||||
id read-only |
The identifier for the price sheet. |
||||||||||
labCatalogId nullable |
The ID of the lab catalog which the price sheet is based on |
||||||||||
linkedCartsCount read-only |
The total number of carts containing items in the price sheet. |
||||||||||
linkedEventDefaultsCount read-only |
The total number of events defaults using this price sheet. |
||||||||||
linkedEventsCount read-only |
The total number of non-deleted events that are using the price sheet. |
||||||||||
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. |
||||||||||
name |
The name of the price sheet. |
||||||||||
packageCount read-only |
The total number of packages in the price sheet. |
||||||||||
priceSheetGroups |
An array of group of items that are contained by the price sheet. |
||||||||||
retouch required nullable |
Setting for Retouch add-on, an optional add-on that is applied across all items of the price sheet.
|
||||||||||
salesTaxOnDigitalDownload |
Denotes if the sales tax should be applied to items which are solely a digital download. |
||||||||||
salesTaxOnShippingCharge |
Denotes if the sales tax should be applied to shipping fees. |
||||||||||
salesTaxPercentage nullable |
The percentage used to calculate the sales tax from an order subtotal. |
||||||||||
salesTaxStateId nullable |
An identifier signifying the state or locale where the sales tax is applicable. The identifier is a combination of the two letter country code and a two to three letter abbreviation of the state/locale separated by an underscore. |
||||||||||
salesTaxTitle nullable |
A name used to refer to the tax. |
||||||||||
selfFulfilledLabCatalogId nullable |
The ID of the self-fulfilled catalog which the price sheet uses. |
||||||||||
shippingOptions nullable |
An array of shipping options to be used when purchasing items from the price sheet.
|
||||||||||
shippingTitle nullable |
A descriptive title for shipping, such as "Shipping", "Shipping and Handling", etc. |
||||||||||
shippingType |
What type of shipping does the price sheet expect to use. |
||||||||||
taxProfileId nullable |
Id of a tax profile to associate with the price sheet. The properties of the tax profile such as tax rate, application to shipping/digital items, and localities will apply to items purchased from the price sheet. |
||||||||||
termsOfSale nullable |
Terms of sale which users must agree to before being allowed to purchase items from the price sheet. Providing a null removes any existing terms of sale. |
||||||||||
type |
The type of object represented. |
||||||||||
vatNumber nullable |
VAT identification number (VATIN) used by many EU and other countries for tax entity identification purposes. |
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/PriceSheet"
}
}
},
"description": "The successfully updated price sheet."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Updates the specified price sheet using the provided data with the entire price sheet being overwritten.
/studio/brand/{brandId}/price-sheet/{priceSheetId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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 price sheet.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
allowLabShippingSpeedSelection |
Determines if the client should be allowed to select a shipping speed offered by the lab during checkout |
||||||||||
createdFromBestsellers |
Denotes if the price sheet was originally created with auto-populate items from the lab catalog's best seller's list. |
||||||||||
labCatalogId nullable |
The ID of the lab catalog which the price sheet is based on |
||||||||||
name |
The name of the price sheet. |
||||||||||
priceSheetGroups |
An array of group of items that are contained by the price sheet. |
||||||||||
retouch required nullable |
Setting for Retouch add-on, an optional add-on that is applied across all items of the price sheet.
|
||||||||||
salesTaxOnDigitalDownload |
Denotes if the sales tax should be applied to items which are solely a digital download. |
||||||||||
salesTaxOnShippingCharge |
Denotes if the sales tax should be applied to shipping fees. |
||||||||||
salesTaxPercentage nullable |
The percentage used to calculate the sales tax from an order subtotal. |
||||||||||
salesTaxStateId nullable |
An identifier signifying the state or locale where the sales tax is applicable. The identifier is a combination of the two letter country code and a two to three letter abbreviation of the state/locale separated by an underscore. |
||||||||||
salesTaxTitle nullable |
A name used to refer to the tax. |
||||||||||
selfFulfilledLabCatalogId nullable |
The ID of the self-fulfilled catalog which the price sheet uses. |
||||||||||
shippingOptions nullable |
An array of shipping options to be used when purchasing items from the price sheet.
|
||||||||||
shippingTitle nullable |
A descriptive title for shipping, such as "Shipping", "Shipping and Handling", etc. |
||||||||||
shippingType |
What type of shipping does the price sheet expect to use. |
||||||||||
taxProfileId nullable |
Id of a tax profile to associate with the price sheet. The properties of the tax profile such as tax rate, application to shipping/digital items, and localities will apply to items purchased from the price sheet. |
||||||||||
termsOfSale nullable |
Terms of sale which users must agree to before being allowed to purchase items from the price sheet. Providing a null removes any existing terms of sale. |
||||||||||
type |
The type of object represented. |
||||||||||
vatNumber nullable |
VAT identification number (VATIN) used by many EU and other countries for tax entity identification purposes. |
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/PriceSheet"
}
}
},
"description": "The price sheet.",
"required": true
}
200 OK
The successfully updated price sheet.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
allowLabShippingSpeedSelection |
Determines if the client should be allowed to select a shipping speed offered by the lab during checkout |
||||||||||
created read-only |
The creation date of this price sheet. |
||||||||||
createdFromBestsellers |
Denotes if the price sheet was originally created with auto-populate items from the lab catalog's best seller's list. |
||||||||||
id read-only |
The identifier for the price sheet. |
||||||||||
labCatalogId nullable |
The ID of the lab catalog which the price sheet is based on |
||||||||||
linkedCartsCount read-only |
The total number of carts containing items in the price sheet. |
||||||||||
linkedEventDefaultsCount read-only |
The total number of events defaults using this price sheet. |
||||||||||
linkedEventsCount read-only |
The total number of non-deleted events that are using the price sheet. |
||||||||||
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. |
||||||||||
name |
The name of the price sheet. |
||||||||||
packageCount read-only |
The total number of packages in the price sheet. |
||||||||||
priceSheetGroups |
An array of group of items that are contained by the price sheet. |
||||||||||
retouch required nullable |
Setting for Retouch add-on, an optional add-on that is applied across all items of the price sheet.
|
||||||||||
salesTaxOnDigitalDownload |
Denotes if the sales tax should be applied to items which are solely a digital download. |
||||||||||
salesTaxOnShippingCharge |
Denotes if the sales tax should be applied to shipping fees. |
||||||||||
salesTaxPercentage nullable |
The percentage used to calculate the sales tax from an order subtotal. |
||||||||||
salesTaxStateId nullable |
An identifier signifying the state or locale where the sales tax is applicable. The identifier is a combination of the two letter country code and a two to three letter abbreviation of the state/locale separated by an underscore. |
||||||||||
salesTaxTitle nullable |
A name used to refer to the tax. |
||||||||||
selfFulfilledLabCatalogId nullable |
The ID of the self-fulfilled catalog which the price sheet uses. |
||||||||||
shippingOptions nullable |
An array of shipping options to be used when purchasing items from the price sheet.
|
||||||||||
shippingTitle nullable |
A descriptive title for shipping, such as "Shipping", "Shipping and Handling", etc. |
||||||||||
shippingType |
What type of shipping does the price sheet expect to use. |
||||||||||
taxProfileId nullable |
Id of a tax profile to associate with the price sheet. The properties of the tax profile such as tax rate, application to shipping/digital items, and localities will apply to items purchased from the price sheet. |
||||||||||
termsOfSale nullable |
Terms of sale which users must agree to before being allowed to purchase items from the price sheet. Providing a null removes any existing terms of sale. |
||||||||||
type |
The type of object represented. |
||||||||||
vatNumber nullable |
VAT identification number (VATIN) used by many EU and other countries for tax entity identification purposes. |
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/PriceSheet"
}
}
},
"description": "The successfully updated price sheet."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Returns a list of all discounts available for the price sheet. Query string parameters may be used to affect the response, including pagination, sorting, and filtering.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/discount
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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
Price sheet discounts 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 type of resource represented. |
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/PriceSheetDiscountCollection"
}
}
},
"description": "Price sheet discounts list response."
}
}
Returns a specific price sheet discount using the ID of the discount.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/discount/{priceSheetDiscountId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetDiscountId required |
The pricesheet discount identifier. |
priceSheetId required |
The price sheet 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
A price sheet discount object.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of this price sheet. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
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. |
name |
The name of the price sheet discount. |
type |
The type of resource represented. |
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/PriceSheetDiscountCollection/allOf/0/properties/items/items"
}
}
},
"description": "A price sheet discount object."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Returns a list of all events linked to the price sheet. Query string parameters may be used to affect the response, including pagination, sorting, and filtering.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/event
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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
List of Events that are associated with the given PriceSheetId.
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 required 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/EventCollection"
}
}
},
"description": "List of Events that are associated with the given PriceSheetId."
}
}
Returns a list of all Groups for the Price Sheet.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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
Price Sheet Group 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 type of resource represented. |
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/PriceSheetGroupCollection"
}
}
},
"description": "Price Sheet Group list response."
}
}
Updates the provided properties on each of the given groups in the collection.
If a property on an individual item is omitted, then no change will be performed on that property. If, however, the property is provided and set to null
, that property will be unset. Note that some properties may not be set to null
.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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 list of groups to update.
Property | Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
items |
A collection of one or more batched resources. If
|
||||||||||||||
type |
The model type for the collection object (i.e., |
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/PriceSheetGroupCollectionInPatch"
}
}
},
"description": "The list of groups to update.",
"required": true
}
200 OK
Price Sheet Group 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 type of resource represented. |
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/PriceSheetGroupCollection"
}
}
},
"description": "Price Sheet Group list response."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Creates a new Price Sheet Group object for the current studio.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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. |
Property | Description |
---|---|
description |
Display text shown to the user in order to give them information concerning the group and the type of items which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a price sheet |
images |
An array of images which display the types of items which may be contained within the group. |
isFeaturedType |
Denotes that the group is meant to contain items which are to be featured in the price sheet. |
isPackageType |
Denotes that the group is meant to contain packages. |
labCatalogGroupId |
The ID of the lab catalog group which was used to create the group. |
name |
The name of the price sheet group. |
priceSheetItems |
An array containing the items which are part of the group. |
priceSheetSubgroups |
An array containing the various subgroups of items within the group. |
type |
The type of object 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/PriceSheetGroup"
}
}
}
}
201 Created
The successfully-created Price Sheet Group object.
Header | Description |
---|---|
Location |
The URL to the newly-created Price Sheet Group object. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of this price sheet group. |
description |
Display text shown to the user in order to give them information concerning the group and the type of items which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a price sheet |
groupType read-only |
The slug name of the type of price sheet item group. |
id read-only |
The identifier for the price sheet group. |
images |
An array of images which display the types of items which may be contained within the group. |
isDefault read-only |
Denotes if the group is a default group. Default groups are created when the Price Sheet is created and cannot be deleted. |
isFeaturedType |
Denotes that the group is meant to contain items which are to be featured in the price sheet. |
isPackageType |
Denotes that the group is meant to contain packages. |
isSecondary read-only |
Denotes if the group is a secondary copy of a default group. The secondary group can contain the same lab-fulfilled product available to the default group, as long as the product is not already contained in the default group. |
labCatalogGroupId |
The ID of the lab catalog group which was used to create the group. |
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. |
name |
The name of the price sheet group. |
priceSheetItems |
An array containing the items which are part of the group. |
priceSheetSubgroups |
An array containing the various subgroups of items within the group. |
status read-only |
The current status of the price sheet group. |
type |
The type of object represented. |
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/PriceSheetGroup"
}
}
},
"description": "The successfully-created Price Sheet Group object.",
"headers": {
"Location": {
"description": "The URL to the newly-created Price Sheet Group object.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Removes a specific Group from the Price Sheet.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet 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 specific Price Sheet Group using the ID of the group.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet 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
A Price Sheet Group object.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of this price sheet group. |
description |
Display text shown to the user in order to give them information concerning the group and the type of items which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a price sheet |
groupType read-only |
The slug name of the type of price sheet item group. |
id read-only |
The identifier for the price sheet group. |
images |
An array of images which display the types of items which may be contained within the group. |
isDefault read-only |
Denotes if the group is a default group. Default groups are created when the Price Sheet is created and cannot be deleted. |
isFeaturedType |
Denotes that the group is meant to contain items which are to be featured in the price sheet. |
isPackageType |
Denotes that the group is meant to contain packages. |
isSecondary read-only |
Denotes if the group is a secondary copy of a default group. The secondary group can contain the same lab-fulfilled product available to the default group, as long as the product is not already contained in the default group. |
labCatalogGroupId |
The ID of the lab catalog group which was used to create the group. |
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. |
name |
The name of the price sheet group. |
priceSheetItems |
An array containing the items which are part of the group. |
priceSheetSubgroups |
An array containing the various subgroups of items within the group. |
status read-only |
The current status of the price sheet group. |
type |
The type of object represented. |
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/PriceSheetGroup"
}
}
},
"description": "A Price Sheet Group object."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Updates a Price Sheet Group with only the provided fields being updated.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet 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 price sheet group object to partially update.
Property | Description |
---|---|
description |
Display text shown to the user in order to give them information concerning the group and the type of items which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a price sheet |
images |
An array of images which display the types of items which may be contained within the group. |
isFeaturedType |
Denotes that the group is meant to contain items which are to be featured in the price sheet. |
isPackageType |
Denotes that the group is meant to contain packages. |
labCatalogGroupId |
The ID of the lab catalog group which was used to create the group. |
name |
The name of the price sheet group. |
priceSheetItems |
An array containing the items which are part of the group. |
priceSheetSubgroups |
An array containing the various subgroups of items within the group. |
type |
The type of object 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/PriceSheetGroup"
}
}
},
"description": "The price sheet group object to partially update.",
"required": true
}
200 OK
The successfully updated Price Sheet Group.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of this price sheet group. |
description |
Display text shown to the user in order to give them information concerning the group and the type of items which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a price sheet |
groupType read-only |
The slug name of the type of price sheet item group. |
id read-only |
The identifier for the price sheet group. |
images |
An array of images which display the types of items which may be contained within the group. |
isDefault read-only |
Denotes if the group is a default group. Default groups are created when the Price Sheet is created and cannot be deleted. |
isFeaturedType |
Denotes that the group is meant to contain items which are to be featured in the price sheet. |
isPackageType |
Denotes that the group is meant to contain packages. |
isSecondary read-only |
Denotes if the group is a secondary copy of a default group. The secondary group can contain the same lab-fulfilled product available to the default group, as long as the product is not already contained in the default group. |
labCatalogGroupId |
The ID of the lab catalog group which was used to create the group. |
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. |
name |
The name of the price sheet group. |
priceSheetItems |
An array containing the items which are part of the group. |
priceSheetSubgroups |
An array containing the various subgroups of items within the group. |
status read-only |
The current status of the price sheet group. |
type |
The type of object represented. |
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/PriceSheetGroup"
}
}
},
"description": "The successfully updated Price Sheet Group."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Updates the specified Price Sheet Group using the provided data with the entire item being overwritten.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet 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 price sheet group object to update.
Property | Description |
---|---|
description |
Display text shown to the user in order to give them information concerning the group and the type of items which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a price sheet |
images |
An array of images which display the types of items which may be contained within the group. |
isFeaturedType |
Denotes that the group is meant to contain items which are to be featured in the price sheet. |
isPackageType |
Denotes that the group is meant to contain packages. |
labCatalogGroupId |
The ID of the lab catalog group which was used to create the group. |
name |
The name of the price sheet group. |
priceSheetItems |
An array containing the items which are part of the group. |
priceSheetSubgroups |
An array containing the various subgroups of items within the group. |
type |
The type of object 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/PriceSheetGroup"
}
}
},
"description": "The price sheet group object to update.",
"required": true
}
200 OK
The successfully updated Price Sheet Group.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of this price sheet group. |
description |
Display text shown to the user in order to give them information concerning the group and the type of items which it may contain. |
displayOrder |
The order in which the group should be displayed in a list of groups for a price sheet |
groupType read-only |
The slug name of the type of price sheet item group. |
id read-only |
The identifier for the price sheet group. |
images |
An array of images which display the types of items which may be contained within the group. |
isDefault read-only |
Denotes if the group is a default group. Default groups are created when the Price Sheet is created and cannot be deleted. |
isFeaturedType |
Denotes that the group is meant to contain items which are to be featured in the price sheet. |
isPackageType |
Denotes that the group is meant to contain packages. |
isSecondary read-only |
Denotes if the group is a secondary copy of a default group. The secondary group can contain the same lab-fulfilled product available to the default group, as long as the product is not already contained in the default group. |
labCatalogGroupId |
The ID of the lab catalog group which was used to create the group. |
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. |
name |
The name of the price sheet group. |
priceSheetItems |
An array containing the items which are part of the group. |
priceSheetSubgroups |
An array containing the various subgroups of items within the group. |
status read-only |
The current status of the price sheet group. |
type |
The type of object represented. |
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/PriceSheetGroup"
}
}
},
"description": "The successfully updated Price Sheet Group."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Returns a list of all subgroups for the price sheet group.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}/subgroup
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet 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
Price sheet subgroup 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 type of resource represented. |
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/PriceSheetSubgroupCollection"
}
}
},
"description": "Price sheet subgroup list response."
}
}
Updates the provided properties on each of the given subgroups in the collection.
If a property on an individual item is omitted, then no change will be performed on that property. If, however, the property is provided and set to null
, that property will be unset. Note that some properties may not be set to null
.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}/subgroup
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet 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 collection of subgroups to update.
Property | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
items |
A collection of one or more batched resources. If
|
||||||||||
type |
The model type for the collection object (i.e., |
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/PriceSheetSubgroupCollectionInPatch"
}
}
},
"description": "The collection of subgroups to update.",
"required": true
}
200 OK
Price sheet subgroup 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 type of resource represented. |
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/PriceSheetSubgroupCollection"
}
}
},
"description": "Price sheet subgroup list response."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Creates a new price sheet subgroup object for the current studio.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}/subgroup
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet 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. |
Property | Description |
---|---|
displayOrder |
The order in which the subgroup should be displayed in a list of subgroups for a price sheet or price sheet group. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
isCatchall deprecated |
Denotes that the subgroup contains items that are not intended to belong in a subgroup based by size or commonality. This property is only set when creating a new subgroup. |
name nullable |
The name of the price sheet subgroup. |
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/PriceSheetSubgroup"
}
}
}
}
201 Created
The successfully-created price sheet subgroup object.
Header | Description |
---|---|
Location |
The URL to the newly-created price sheet subgroup object. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
bounds nullable read-only |
The dimensional bounds of the price sheet subgroup. |
displayOrder |
The order in which the subgroup should be displayed in a list of subgroups for a price sheet or price sheet group. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
isCatchall deprecated |
Denotes that the subgroup contains items that are not intended to belong in a subgroup based by size or commonality. This property is only set when creating a new subgroup. |
isCustom read-only |
Denotes if the Subgroup was created by the Studio. |
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. |
name nullable |
The name of the price sheet subgroup. |
type |
The type of resource represented. |
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/PriceSheetSubgroup"
}
}
},
"description": "The successfully-created price sheet subgroup object.",
"headers": {
"Location": {
"description": "The URL to the newly-created price sheet subgroup object.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Removes the specified subgroup from the price sheet.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}/subgroup/{priceSheetSubgroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetSubgroupId required |
The pricesheet subgroup 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.
409 Conflict
Subgroup containing items cannot be deleted.
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"204": {
"description": "Successful deletion response."
},
"409": {
"description": "Subgroup containing items cannot be deleted."
}
}
Returns a specific price sheet subgroup using the ID of the subgroup.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}/subgroup/{priceSheetSubgroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetSubgroupId required |
The pricesheet subgroup 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
A price sheet subgroup object.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
bounds nullable read-only |
The dimensional bounds of the price sheet subgroup. |
displayOrder |
The order in which the subgroup should be displayed in a list of subgroups for a price sheet or price sheet group. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
isCatchall deprecated |
Denotes that the subgroup contains items that are not intended to belong in a subgroup based by size or commonality. This property is only set when creating a new subgroup. |
isCustom read-only |
Denotes if the Subgroup was created by the Studio. |
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. |
name nullable |
The name of the price sheet subgroup. |
type |
The type of resource represented. |
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/PriceSheetSubgroup"
}
}
},
"description": "A price sheet subgroup object."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Updates the specified price sheet subgroup using the provided data with the specified properties being overwritten.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/group/{priceSheetGroupId}/subgroup/{priceSheetSubgroupId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetGroupId required |
The pricesheet group identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetSubgroupId required |
The pricesheet subgroup 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. |
Property | Description |
---|---|
displayOrder |
The order in which the subgroup should be displayed in a list of subgroups for a price sheet or price sheet group. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
isCatchall deprecated |
Denotes that the subgroup contains items that are not intended to belong in a subgroup based by size or commonality. This property is only set when creating a new subgroup. |
name nullable |
The name of the price sheet subgroup. |
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": {
"example": {
"displayOrder": 4,
"name": "A subgroup!",
"type": "price-sheet-subgroup"
},
"schema": {
"$ref": "#/components/schemas/PriceSheetSubgroup"
}
}
}
}
200 OK
The successfully-updated price sheet subgroup.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
bounds nullable read-only |
The dimensional bounds of the price sheet subgroup. |
displayOrder |
The order in which the subgroup should be displayed in a list of subgroups for a price sheet or price sheet group. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
isCatchall deprecated |
Denotes that the subgroup contains items that are not intended to belong in a subgroup based by size or commonality. This property is only set when creating a new subgroup. |
isCustom read-only |
Denotes if the Subgroup was created by the Studio. |
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. |
name nullable |
The name of the price sheet subgroup. |
type |
The type of resource represented. |
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/PriceSheetSubgroup"
}
}
},
"description": "The successfully-updated price sheet subgroup."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Using a batch operation, you can delete multiple events at once.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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 list of price sheet items to delete.
Property | Description |
---|---|
items |
A collection of resources returned in the current result set. |
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/PriceSheetItemCollection"
}
}
},
"description": "The list of price sheet items to delete.",
"required": true
}
204 No Content
The specified price sheet items were deleted.
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. |
409 Conflict
The request could not be completed due to a conflict with the current state of the target resource.
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.
{
"204": {
"description": "The specified price sheet items were deleted."
},
"400": {
"$ref": "#/components/responses/validationError"
},
"409": {
"$ref": "#/components/responses/conflictError",
"description": "One or more items in the batch could not be deleted."
}
}
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
Property | Description |
---|---|
filterPriceSheetGroupId |
Group identifier by which to filter results. |
filterPriceSheetSubgroupId |
Subgroup identifier by which to filter results. |
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
A list of items on a price sheet.
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 type of resource represented. |
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/PriceSheetItemCollection"
}
}
},
"description": "A list of items on a price sheet."
}
}
Using a batch operation, you can update multiple price sheet items at once.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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 list of price sheet items to update.
Property | Description |
---|---|
items |
A collection of resources returned in the current result set. |
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/PriceSheetItemCollection"
}
}
},
"description": "The list of price sheet items to update.",
"required": true
}
200 OK
A list of price sheet items.
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 type of resource represented. |
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/PriceSheetItemCollection"
}
}
},
"description": "A list of price sheet items."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
To create an item on a price sheet, post either a standard item, a digital item, a package containing standard or digital items, or a collection representation that may contain all three types.
If posting a collection, each item in the collection will result in a new item created on the price sheet; this can be a handy way to create a batch of price sheet items in a single request.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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. |
A standard price sheet item, a digital item, a package item, or a collection of price sheet items.
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/PriceSheetItem"
},
{
"$ref": "#/components/schemas/PriceSheetItemDigital"
},
{
"$ref": "#/components/schemas/PriceSheetItemCollection"
},
{
"$ref": "#/components/schemas/PriceSheetItemPackage"
}
]
}
}
},
"description": "A standard price sheet item, a digital item, a package item, or a\ncollection of price sheet items.",
"required": true
}
201 Created
The new price sheet item or a list of price sheet items if a collection was submitted.
Header | Description |
---|---|
Location |
If a single price sheet item is returned, the |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
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": {
"oneOf": [
{
"$ref": "#/components/schemas/PriceSheetItem"
},
{
"$ref": "#/components/schemas/PriceSheetItemDigital"
},
{
"$ref": "#/components/schemas/PriceSheetItemCollection"
},
{
"$ref": "#/components/schemas/PriceSheetItemPackage"
}
]
}
}
},
"description": "The new price sheet item or a list of price sheet items if a collection\nwas submitted.",
"headers": {
"Location": {
"description": "If a single price sheet item is returned, the `Location` header will\nbe present and contain the URL to the new price sheet item.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet 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
The resource was successfully deleted.
409 Conflict
The request could not be completed due to a conflict with the current state of the target resource.
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. |
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.
{
"204": {
"description": "The resource was successfully deleted."
},
"409": {
"$ref": "#/components/responses/conflictError",
"description": "Item could not be deleted."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet 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
A price sheet item.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
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": {
"oneOf": [
{
"$ref": "#/components/schemas/PriceSheetItem"
},
{
"$ref": "#/components/schemas/PriceSheetItemDigital"
},
{
"$ref": "#/components/schemas/PriceSheetItemPackage"
}
]
}
}
},
"description": "A price sheet item."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet 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 price sheet item to update. Only provide those properties that need updating.
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/PriceSheetItem"
},
{
"$ref": "#/components/schemas/PriceSheetItemDigital"
},
{
"$ref": "#/components/schemas/PriceSheetItemPackage"
}
]
}
}
},
"description": "The price sheet item to update. Only provide those properties that need\nupdating.",
"required": true
}
200 OK
The updated price sheet item.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
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. |
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": {
"oneOf": [
{
"$ref": "#/components/schemas/PriceSheetItem"
},
{
"$ref": "#/components/schemas/PriceSheetItemDigital"
},
{
"$ref": "#/components/schemas/PriceSheetItemPackage"
}
]
}
}
},
"description": "The updated price sheet item."
},
"400": {
"$ref": "#/components/responses/validationError"
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet 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 price sheet item to update.
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"schema": {
"oneOf": [
{
"$ref": "#/components/schemas/PriceSheetItem"
},
{
"$ref": "#/components/schemas/PriceSheetItemDigital"
},
{
"$ref": "#/components/schemas/PriceSheetItemPackage"
}
]
}
}
},
"description": "The price sheet item to update.",
"required": true
}
200 OK
The updated price sheet item.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
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. |
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": {
"oneOf": [
{
"$ref": "#/components/schemas/PriceSheetItem"
},
{
"$ref": "#/components/schemas/PriceSheetItemDigital"
},
{
"$ref": "#/components/schemas/PriceSheetItemPackage"
}
]
}
}
},
"description": "The updated price sheet item."
},
"400": {
"$ref": "#/components/responses/validationError"
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}/child-item/{priceSheetChildItemId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetChildItemId required |
The price sheet child item identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet 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
The resource was successfully deleted.
409 Conflict
If attempting to delete the last child item for the item, then we respond with a 409 Conflict
response.
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. |
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.
{
"204": {
"description": "The resource was successfully deleted."
},
"409": {
"content": {
"application/problem+json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
},
"description": "If attempting to delete the last child item for the item, then we respond\nwith a `409 Conflict` response."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Updates the provided properties on each of the given price sheet item images in the collection.
If a property on an individual item is omitted, then no change will be performed on that property. If, however, the property is provided and set to null
, that property will be unset. Note that some properties may not be set to null
.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}/image
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet 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 collection of price sheet items images to update.
Property | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
items |
A collection of one or more batched resources. If
|
||||||||
type |
The model type for the collection object (i.e., |
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/PriceSheetElementImageCollectionInPatch"
}
}
},
"description": "The collection of price sheet items images to update.",
"required": true
}
200 OK
Price Sheet Item Image 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 type of resource represented. |
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/PriceSheetElementImageCollection"
}
}
},
"description": "Price Sheet Item Image list response."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Creates a new price sheet item image object.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}/image
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet 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. |
Property | Description |
---|---|
displayOrder |
The order in which the image should be displayed in a list of other images for the related price sheet element. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
type |
The type of object represented. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"multipart/mixed": {
"example": "--SP_BOUNDARY\nContent-Type: application/vnd.shootproof+json\n\n{\n \"type\": \"price-sheet-element-image\",\n \"displayOrder\": 1\n}\n\n--SP_BOUNDARY\nContent-Disposition: attachment; filename=image.jpg\nContent-Type: image/jpeg\n\n[binary data]\n\n--SP_BOUNDARY--",
"schema": {
"$ref": "#/components/schemas/PriceSheetElementImage"
}
}
}
}
201 Created
The successfully-created price sheet item image object.
Header | Description |
---|---|
Location |
The URL to the newly-created price sheet item image object. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of the image. |
displayOrder |
The order in which the image should be displayed in a list of other images for the related price sheet element. |
displayUrl nullable read-only |
Display URLs for this image. |
filesize read-only |
The original filesize of the image (in bytes). |
height read-only |
The height in pixels of the image. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
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. |
mimeType nullable read-only |
The image file MIME type. |
name read-only |
The original filename of the image. |
type |
The type of object represented. |
width read-only |
The width in pixels of the image. |
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/PriceSheetElementImage"
}
}
},
"description": "The successfully-created price sheet item image object.",
"headers": {
"Location": {
"description": "The URL to the newly-created price sheet item image object.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Deletes the price sheet item image object from the item.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}/image/{priceSheetItemImageId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet item identifier. |
priceSheetItemImageId required |
The price sheet item image 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 specific price sheet item image using the ID of the image.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}/image/{priceSheetItemImageId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet item identifier. |
priceSheetItemImageId required |
The price sheet item image 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
A price sheet item image object.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of the image. |
displayOrder |
The order in which the image should be displayed in a list of other images for the related price sheet element. |
displayUrl nullable read-only |
Display URLs for this image. |
filesize read-only |
The original filesize of the image (in bytes). |
height read-only |
The height in pixels of the image. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
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. |
mimeType nullable read-only |
The image file MIME type. |
name read-only |
The original filename of the image. |
type |
The type of object represented. |
width read-only |
The width in pixels of the image. |
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/PriceSheetElementImage"
}
}
},
"description": "A price sheet item image object."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}
Updates the specified price sheet item image using the provided data with the specified properties being overwritten.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/item/{priceSheetItemId}/image/{priceSheetItemImageId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetItemId required |
The price sheet item identifier. |
priceSheetItemImageId required |
The price sheet item image 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. |
Property | Description |
---|---|
displayOrder |
The order in which the image should be displayed in a list of other images for the related price sheet element. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
type |
The type of object represented. |
The following schema is based on OpenAPI 3.0 and is provided in our downloadable OpenAPI document.
{
"content": {
"application/vnd.shootproof+json": {
"example": {
"displayOrder": 4,
"type": "price-sheet-element-image"
},
"schema": {
"$ref": "#/components/schemas/PriceSheetElementImage"
}
}
}
}
200 OK
The successfully-updated price sheet item image.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of the image. |
displayOrder |
The order in which the image should be displayed in a list of other images for the related price sheet element. |
displayUrl nullable read-only |
Display URLs for this image. |
filesize read-only |
The original filesize of the image (in bytes). |
height read-only |
The height in pixels of the image. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
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. |
mimeType nullable read-only |
The image file MIME type. |
name read-only |
The original filename of the image. |
type |
The type of object represented. |
width read-only |
The width in pixels of the image. |
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/PriceSheetElementImage"
}
}
},
"description": "The successfully-updated price sheet item image."
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Returns a list of all Shipping Options for the Price Sheet.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/shipping-option
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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
Price Sheet Shipping Option 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 type of resource represented. |
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/PriceSheetShippingOptionCollection"
}
}
},
"description": "Price Sheet Shipping Option list response."
}
}
Creates a new Price Sheet Shipping Option object for the current studio.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/shipping-option
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet 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. |
Property | Description |
---|---|
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
price |
A decimal value of the price of the shipping option, represented in the currency of the brand. |
title |
The title of the price sheet shipping option. |
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/PriceSheetShippingOption"
}
}
}
}
201 Created
The successfully-created Price Sheet Shipping Option object.
Header | Description |
---|---|
Location |
The URL to the newly-created Price Sheet Shipping Option object. |
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of this shipping option. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
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. |
price |
A decimal value of the price of the shipping option, represented in the currency of the brand. |
title |
The title of the price sheet shipping option. |
type |
The type of resource represented. |
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/PriceSheetShippingOption"
}
}
},
"description": "The successfully-created Price Sheet Shipping Option object.",
"headers": {
"Location": {
"description": "The URL to the newly-created Price Sheet Shipping Option object.",
"schema": {
"format": "uri",
"type": "string"
}
}
}
},
"400": {
"$ref": "#/components/responses/validationError"
}
}
Removes a specific Shipping Option from the Price Sheet.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/shipping-option/{priceSheetShippingOptionId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetShippingOptionId required |
The pricesheet shipping option 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 specific Price Sheet Shipping Option using the ID of the option.
/studio/brand/{brandId}/price-sheet/{priceSheetId}/shipping-option/{priceSheetShippingOptionId}
We’ve got some helpful examples coming your way soon. Stay tuned!
Property | Description |
---|---|
brandId required |
The brand identifier. |
priceSheetId required |
The price sheet identifier. |
priceSheetShippingOptionId required |
The pricesheet shipping option 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
A Price Sheet Shipping Option object.
When the Content-Type
of the response is application/vnd.shootproof+json
, the following properties will be available in the response body.
Property | Description |
---|---|
created read-only |
The creation date of this shipping option. |
id |
An entity identifier. It may be either an integer or a universally unique identifier (UUID) represented as a string. |
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. |
price |
A decimal value of the price of the shipping option, represented in the currency of the brand. |
title |
The title of the price sheet shipping option. |
type |
The type of resource represented. |
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/PriceSheetShippingOption"
}
}
},
"description": "A Price Sheet Shipping Option object."
},
"default": {
"$ref": "#/components/responses/defaultError"
}
}