/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts
Get a list of items for your order.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
orderId |
required | path | int | the unique identifier of the order | |
shopId |
required | path | int | the unique identifier of the shop | |
filterId |
query | |
optional saved Filter.DesignedOrderedProduct ID; empty string for all | ||
page |
query | 0 |
int | zero-based page index | |
size |
query | 10 |
int | number of items per page |
<pagedData>
<records>...</records>
<totalElements>...</totalElements>
</pagedData>
{
"pagedData" : {
"records" : [ { }, { } ],
"totalElements" : 12345
}
}
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/{orderedProductId}
Get a single order item by its id.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
orderId |
required | path | int | the unique identifier of the order | |
orderedProductId |
required | path | int | the unique identifier of the ordered product | |
shopId |
required | path | int | the unique identifier of the shop |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
OrderedProduct | |
application/xml |
OrderedProduct |
<orderedProduct>
<id>...</id>
<created>2019-04-25T18:02:07+02:00</created>
<assignedProductColor>
<id>...</id>
<orderIndex>1</orderIndex>
<productColor>
<id>...</id>
<name>black</name>
</productColor>
<default>...</default>
<active>...</active>
</assignedProductColor>
<assignedProductSize>
<id>...</id>
<orderIndex>1</orderIndex>
<default>...</default>
<productSize>
<id>...</id>
<name>XXL</name>
<dimensions>...</dimensions>
<groupingId>...</groupingId>
<groupingDefault>...</groupingDefault>
</productSize>
<width>47</width>
<height>68</height>
<length>...</length>
<accuracy>...</accuracy>
</assignedProductSize>
<amount>2</amount>
<price>9.99</price>
<uuid>...</uuid>
<customReferenceId>Item 123456</customReferenceId>
<customLabel>...</customLabel>
</orderedProduct>
{
"orderedProduct" : {
"id" : 12345,
"created" : 12345,
"assignedProductColor" : {
"id" : 12345,
"orderIndex" : 1,
"productColor" : {
"id" : 12345,
"name" : "black"
},
"default" : true,
"active" : true
},
"assignedProductSize" : {
"id" : 12345,
"orderIndex" : 1,
"default" : true,
"productSize" : {
"id" : 12345,
"name" : "XXL",
"dimensions" : 12345,
"groupingId" : "...",
"groupingDefault" : true
},
"width" : 47.0,
"height" : 68.0,
"length" : 12345.0,
"accuracy" : 12345.0
},
"amount" : 2,
"price" : 9.99,
"uuid" : "...",
"customReferenceId" : "Item 123456",
"customLabel" : "..."
}
}
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/{orderedProductId}
Delete the OrderedProduct by its id.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
orderId |
required | path | int | the unique identifier of the order | |
orderedProductId |
required | path | int | the unique identifier of the ordered product | |
shopId |
required | path | int | the unique identifier of the shop |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
object
|
|
application/xml |
anyType
|
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/{orderedProductId}/changePrintTechnologyPreview
[For Testing Purposes] Get preview of ordered item after changing of print technology of all elements.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
orderId |
required | path | int | the unique identifier of the order | |
orderedProductId |
required | path | int | the unique identifier of the ordered product | |
shopId |
required | path | int | the unique identifier of the shop | |
format |
query | SVG |
the output format (e.g., SVG, PNG) | ||
height |
query | 0 |
int | desired image height in pixels (0 for default) | |
printTechnologyId |
query | int | the unique identifier of the target print technology | ||
view |
query | FRONT |
the product view to render (e.g., FRONT, BACK) | ||
width |
query | 0 |
int | desired image width in pixels (0 for default) |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
object
|
|
application/xml |
anyType
|
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/{orderedProductId}/image
Get image for your OrderedProduct.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
orderId |
required | path | int | the unique identifier of the order | |
orderedProductId |
required | path | int | the unique identifier of the ordered product | |
shopId |
required | path | int | the unique identifier of the shop | |
assignedViewId |
query | -1 |
int | the view to render (-1 for default) | |
bkg |
query | optional background color as hex RGB value | |||
height |
query | -1 |
int | desired image height in pixels (-1 for original) | |
showError |
query | false |
boolean | if true, renders error indicators on the image |
|
showStickers |
query | true |
boolean | if true, renders sticker overlays on the image |
|
type |
query | PNG |
"GIF" or "JPG" or "PDF" or "PNG" or "TIF" or "WEBP" | the output image format (e.g., PNG, JPG) | |
width |
query | -1 |
int | desired image width in pixels (-1 for original) |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
object
|
|
application/xml |
anyType
|
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/usingCreatorSE
Create a new ordered product using CreatorSE.Design Data Type.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | ||
orderId |
required | path | int | ||
shopId |
required | path | int |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
CreatorSE.Design | |
application/xml |
CreatorSE.Design |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
OrderedProduct | |
application/xml |
OrderedProduct |
<creatorse_design>
<productId>...</productId>
<amount>...</amount>
<assignedSize>
<id>...</id>
<size>
<id>...</id>
<name>XL</name>
</size>
</assignedSize>
<assignedColor>
<id>...</id>
<color>
<id>...</id>
</color>
</assignedColor>
<sku>...</sku>
<customReferenceId>Item 123456</customReferenceId>
<customLabel>...</customLabel>
<compositions>
<creatorse_composition>
<productArea>
<id>...</id>
<name>...</name>
<assignedView/>
<realSize/>
</productArea>
<previewResource>
<attachment>...</attachment>
<filename>...</filename>
<url>...</url>
</previewResource>
<elements>
<creatorse_designElementMotive>
<motive/>
</creatorse_designElementMotive>
<creatorse_designElementDdf>
<previewResource/>
<productionResource/>
</creatorse_designElementDdf>
<creatorse_designElementDecoration>
<sku>STICKER-WOVEN-001</sku>
<placement>chest-left</placement>
</creatorse_designElementDecoration>
</elements>
</creatorse_composition>
</compositions>
</creatorse_design>
{
"creatorse_design" : {
"productId" : 12345,
"amount" : 12345,
"assignedSize" : {
"id" : 12345,
"size" : {
"id" : 12345,
"name" : "XL"
}
},
"assignedColor" : {
"id" : 12345,
"color" : {
"id" : 12345
}
},
"sku" : "...",
"customReferenceId" : "Item 123456",
"customLabel" : "...",
"compositions" : {
"creatorse_composition" : [ {
"productArea" : {
"id" : 12345,
"name" : "...",
"assignedView" : { },
"realSize" : { }
},
"previewResource" : {
"attachment" : "...",
"filename" : "...",
"url" : "..."
},
"elements" : [ {
"creatorse_designElementMotive" : {
"motive" : { },
"position" : { },
"printTechnology" : { },
"layers" : {
"creatorse_designElementLayer" : [ { }, { } ]
}
}
}, {
"creatorse_designElementDdf" : {
"previewResource" : { },
"productionResource" : { },
"position" : { },
"printTechnology" : { },
"layers" : {
"creatorse_designElementLayer" : [ { }, { } ]
}
}
}, {
"creatorse_designElementDecoration" : {
"sku" : "STICKER-WOVEN-001",
"placement" : "chest-left",
"position" : { },
"printTechnology" : { },
"layers" : {
"creatorse_designElementLayer" : [ { }, { } ]
}
}
} ]
}, {
"productArea" : {
"id" : 12345,
"name" : "...",
"assignedView" : { },
"realSize" : { }
},
"previewResource" : {
"attachment" : "...",
"filename" : "...",
"url" : "..."
},
"elements" : [ {
"creatorse_designElementMotive" : {
"motive" : { },
"position" : { },
"printTechnology" : { },
"layers" : {
"creatorse_designElementLayer" : [ { }, { } ]
}
}
}, {
"creatorse_designElementDdf" : {
"previewResource" : { },
"productionResource" : { },
"position" : { },
"printTechnology" : { },
"layers" : {
"creatorse_designElementLayer" : [ { }, { } ]
}
}
}, {
"creatorse_designElementDecoration" : {
"sku" : "STICKER-WOVEN-001",
"placement" : "chest-left",
"position" : { },
"printTechnology" : { },
"layers" : {
"creatorse_designElementLayer" : [ { }, { } ]
}
}
} ]
} ]
}
}
}
<orderedProduct>
<id>...</id>
<created>2019-04-25T18:02:07+02:00</created>
<assignedProductColor>
<id>...</id>
<orderIndex>1</orderIndex>
<productColor>
<id>...</id>
<name>black</name>
</productColor>
<default>...</default>
<active>...</active>
</assignedProductColor>
<assignedProductSize>
<id>...</id>
<orderIndex>1</orderIndex>
<default>...</default>
<productSize>
<id>...</id>
<name>XXL</name>
<dimensions>...</dimensions>
<groupingId>...</groupingId>
<groupingDefault>...</groupingDefault>
</productSize>
<width>47</width>
<height>68</height>
<length>...</length>
<accuracy>...</accuracy>
</assignedProductSize>
<amount>2</amount>
<price>9.99</price>
<uuid>...</uuid>
<customReferenceId>Item 123456</customReferenceId>
<customLabel>...</customLabel>
</orderedProduct>
{
"orderedProduct" : {
"id" : 12345,
"created" : 12345,
"assignedProductColor" : {
"id" : 12345,
"orderIndex" : 1,
"productColor" : {
"id" : 12345,
"name" : "black"
},
"default" : true,
"active" : true
},
"assignedProductSize" : {
"id" : 12345,
"orderIndex" : 1,
"default" : true,
"productSize" : {
"id" : 12345,
"name" : "XXL",
"dimensions" : 12345,
"groupingId" : "...",
"groupingDefault" : true
},
"width" : 47.0,
"height" : 68.0,
"length" : 12345.0,
"accuracy" : 12345.0
},
"amount" : 2,
"price" : 9.99,
"uuid" : "...",
"customReferenceId" : "Item 123456",
"customLabel" : "..."
}
}
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/usingBaseProduct/{productId}
Create a new ordered product using base product.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
orderId |
required | path | int | the unique identifier of the order | |
productId |
required | path | int | the unique identifier of the base product | |
shopId |
required | path | int | the unique identifier of the shop | |
amount |
query | 1 |
int | the quantity of items to add | |
assignedColorId |
query | 0 |
int | optional color variant to assign (0 for default) | |
assignedSizeId |
query | 0 |
int | optional size variant to assign (0 for default) |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
object
|
|
application/xml |
anyType
|
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/usingTemplateProduct/{designedTemplateProductId}
Save new ordered product using designedTemplate.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
designedTemplateProductId |
required | path | int | the unique identifier of the designed template product | |
orderId |
required | path | int | the unique identifier of the order | |
shopId |
required | path | int | the unique identifier of the shop | |
amount |
query | 1 |
int | the quantity of items to add | |
assignedColorId |
query | 0 |
int | optional color variant to assign (0 for default) | |
assignedSizeId |
query | 0 |
int | optional size variant to assign (0 for default) | |
designedTemplateProductSku |
query | |
optional SKU of the designed template product |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
object
|
|
application/xml |
anyType
|
/accounts/{accountId}/shops/{shopId}/orders/{orderId}/orderedProducts/{orderedProductId}/changePrintTechnology
[For Testing Purposes] Change print technology of all elements.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
orderId |
required | path | int | the unique identifier of the order | |
orderedProductId |
required | path | int | the unique identifier of the ordered product | |
shopId |
required | path | int | the unique identifier of the shop | |
printTechnologyId |
query | int | the unique identifier of the target print technology |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
object
|
|
application/xml |
anyType
|