Create a design
This API allows you to send a design to Apliiq.
200 - OK - product created
400 - Bad request
401 - Unauthorized
{
"ProductId": 384,
"ColorId": 413,
"Locations": [
{
"Artworks": [
{
"ServiceTypeId": 3,
"PrintColors": null,
"Note": "please center artwork",
"Id": 1432867
}
],
"Id": 4537,
"ImagePath": "https://blob.apliiq.com/sitestorage/resized-products/2170782_4537_577_880.jpg"
}
],
"Subscriptions": [
{
"PlacementId": 1012,
"SavedDesign": {
"Id": 1846537
}
}
],
"Name": "Anvil camo - ",
"Description": ""
}
{
"Id": 200012234,
"ProductId": 384,
"ColorId": 413,
"Locations": [
{
"Artworks": [
{
"ServiceTypeId": 3,
"PrintColors": null,
"Note": "please center artwork",
"Id": 1432867
}
],
"Id": 4537,
"ImagePath": "https://blob.apliiq.com/sitestorage/resized-products/2170782_4537_577_880.jpg"
}
],
"Subscriptions": [
{
"PlacementId": 1012,
"SavedDesign": {
"Id": 1846537
}
}
],
"Name": "Anvil camo - ",
"Description": ""
}
DesignCreated_MockImageUploadFailed - possible reasons include bad url format such as missing protocol, include query parameters.
DesignCreate_Failed
ProductNotFound - invalid product id or non existence product id
NotSupported_Color - Color id is not available for given product
NotSupported_Service - Service id is not available for given product
NotSupported_ServiceColor - Selected hex color is not available for selected service (embroidery or Screen)
NotSupported_Location - specified location id is not available for given product
NotSupported_Subscription - subscription is not found or not available for given product
NotSupported_SubscriptionPlacement - subscription found but specified placement option is not available for given subscription
Missing_ProductId - missing product id in the request
Missing_ColorId - missing product color id in the request
Missing_ColorForSelectedService - only when service is embroidery or screen and no color is specified in the request
Missing_MockUrl - missing image url for location - only when artwork is specified
Missing_ArtworkId - missing artwork id in request - only when service is specified
Missing_SubscriptionSavedDesignId - missing subscription saved design id
Data_MaxServiceColorsSelected - too many colors selected for service embroidery or screen - max 6 colors
Data_DuplicateArtworkIdUsed - when same artwork id provided more than once in a request - reuse artwork is encourage but not within same request
Data_DuplicateSubscriptionIdUsed -
Data_MaxPrivateLabelSubscription - only 1 private label subscription can be used in each request
SetupIssue_PlacementConfig - no placement found on a given subscription - contact customer service.