Response [200 Ok]
| Uri | /api/v2/catalog/sku/10121 |
|---|---|
| UriDescription | Catalog Sku by ID |
| EndpointType | CatalogSku |
| Locator | CatalogSku |
| LocatorType | Object |
CatalogSku [1 of 1]
/api/v2/catalog/sku/10121
| Uri | /api/v2/catalog/sku/10121 |
|---|---|
| UriDescription | Catalog Sku by ID |
| BorderHeight | 0.125 |
| BorderWidth | 0.125 |
| CanPrintmark | true |
| CartItemLimit | 0 |
| Enabled | true |
| MaxQuantity | 0 |
| MinResHeight | 1000 |
| MinResWidth | 1000 |
| Priceable | true |
| RotationMatters | false |
| Sku | 10121 |
| SkuID | 10121 |
| SkuType | option |
| SkuTypeCode | none/none |
| canCrop | true |
Uris
CatalogProduct
/api/v2/catalog/product/10121
| Uri | /api/v2/catalog/product/10121 |
|---|---|
| UriDescription | Catalog Product by ID |
| EndpointType | CatalogProduct |
| Locator | CatalogProduct |
| LocatorType | Object |
CatalogSkuBatchAdd
/api/v2/catalog/sku/10121!batchadd
| Uri | /api/v2/catalog/sku/10121!batchadd |
|---|---|
| UriDescription | Batch Add Catalog Sku |
| EndpointType | CatalogSkuBatchAdd |
| Locator | CatalogSkuBatchAdd |
| LocatorType | Object |
CatalogSkuBuy
/api/v2/catalog/sku/10121!buy
| Uri | /api/v2/catalog/sku/10121!buy |
|---|---|
| UriDescription | Buy Catalog Sku |
| EndpointType | CatalogSkuBuy |
CatalogSkuPrice
/api/v2/catalog/sku/10121!price
| Uri | /api/v2/catalog/sku/10121!price |
|---|---|
| UriDescription | Catalog Sku Price |
| EndpointType | CatalogSkuPrice |
| Locator | CatalogSkuPrice |
| LocatorType | Object |
CatalogSkuType
/api/v2/catalog/skutype/option/none/none
| Uri | /api/v2/catalog/skutype/option/none/none |
|---|---|
| UriDescription | Catalog SkuType by TypeCode |
| EndpointType | CatalogSkuType |
| Locator | CatalogSkuType |
| LocatorType | Object |
Request
| Uri | /api/v2/catalog/sku/10121?_accept=text%2Fhtml |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
Methods
OPTIONS
| Permissions |
|
|---|
GET
| Permissions |
|
|---|
Output Fields
| AddonLabel | text | |
|---|---|---|
| BorderHeight | floatingpoint | |
| BorderWidth | floatingpoint | |
| CanPrintmark | boolean | |
| CartItemLimit | integer | Limit of CartItems for this Sku allowed in shopping cart |
| Enabled | boolean | |
| FrameHeight | text | |
| FrameWidth | text | |
| MaxQuantity | integer | Maximum quantity allowed per CartItem |
| MinResHeight | integer | Minimum Resolution Height |
| MinResWidth | integer | Minimum Resolution Width |
| MouldingHeight | text | |
| MouldingWidth | text | |
| Priceable | boolean | |
| RotationMatters | boolean | |
| Sku | text | |
| SkuID | integer | |
| SkuType |
select
|
|
| SkuTypeCode | text | |
| canCrop | boolean |
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/catalog/sku/10121?_accept=text%2Fhtml"
},
"Options": {
"MethodDetails": {
"OPTIONS": {
"Permissions": [
"Read"
]
},
"GET": {
"Permissions": [
"Read"
]
}
},
"Methods": [
"OPTIONS",
"GET"
],
"MediaTypes": [
"application/json",
"application/vnd.php.serialized",
"application/x-msgpack",
"text/html",
"text/csv"
],
"Output": [
{
"Name": "BorderHeight",
"Type": "FloatingPoint",
"MIN_VALUE": 0,
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "BorderWidth",
"Type": "FloatingPoint",
"MIN_VALUE": 0,
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "CartItemLimit",
"Description": "Limit of CartItems for this Sku allowed in shopping cart",
"Type": "Integer",
"MIN_VALUE": 1,
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "Enabled",
"Type": "Boolean"
},
{
"Name": "MinResHeight",
"Description": "Minimum Resolution Height",
"Type": "Integer",
"MIN_VALUE": 0,
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "MinResWidth",
"Description": "Minimum Resolution Width",
"Type": "Integer",
"MIN_VALUE": 0,
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "MaxQuantity",
"Description": "Maximum quantity allowed per CartItem",
"Type": "Integer",
"MIN_VALUE": 1,
"MAX_VALUE": 4294967295
},
{
"Name": "Priceable",
"Type": "Boolean"
},
{
"Name": "RotationMatters",
"Type": "Boolean"
},
{
"Name": "SkuID",
"Type": "Integer",
"MIN_VALUE": 0,
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "Sku",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "canCrop",
"Type": "Boolean"
},
{
"Name": "SkuType",
"Type": "Select",
"OPTIONS": [
"addon",
"option"
],
"MIN_COUNT": 1,
"MAX_COUNT": 1
},
{
"Name": "SkuTypeCode",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "MouldingWidth",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "MouldingHeight",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "FrameWidth",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "FrameHeight",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
},
{
"Name": "CanPrintmark",
"Type": "Boolean"
},
{
"Name": "AddonLabel",
"Type": "Varchar",
"MIN_CHARS": 0,
"MAX_CHARS": "INFINITY"
}
],
"Path": [
{
"type": "path",
"text": "api"
},
{
"type": "path",
"text": "v2"
},
{
"type": "path",
"text": "catalog"
},
{
"type": "path",
"text": "sku"
},
{
"type": "singleparam",
"param_name": "SkuID",
"param_value": "10121",
"param_validator": {}
}
]
},
"Response": {
"Uri": "/api/v2/catalog/sku/10121",
"Locator": "CatalogSku",
"LocatorType": "Object",
"CatalogSku": {
"BorderHeight": 0.125,
"BorderWidth": 0.125,
"CartItemLimit": 0,
"Enabled": true,
"MinResHeight": 1000,
"MinResWidth": 1000,
"MaxQuantity": 0,
"Priceable": true,
"RotationMatters": false,
"SkuID": 10121,
"Sku": "10121",
"canCrop": true,
"SkuType": "option",
"SkuTypeCode": "none/none",
"CanPrintmark": true,
"Uri": "/api/v2/catalog/sku/10121",
"UriDescription": "Catalog Sku by ID",
"Uris": {
"CatalogProduct": {
"Uri": "/api/v2/catalog/product/10121",
"Locator": "CatalogProduct",
"LocatorType": "Object",
"UriDescription": "Catalog Product by ID",
"EndpointType": "CatalogProduct"
},
"CatalogSkuType": {
"Uri": "/api/v2/catalog/skutype/option/none/none",
"Locator": "CatalogSkuType",
"LocatorType": "Object",
"UriDescription": "Catalog SkuType by TypeCode",
"EndpointType": "CatalogSkuType"
},
"CatalogSkuPrice": {
"Uri": "/api/v2/catalog/sku/10121!price",
"Locator": "CatalogSkuPrice",
"LocatorType": "Object",
"UriDescription": "Catalog Sku Price",
"EndpointType": "CatalogSkuPrice"
},
"CatalogSkuBuy": {
"Uri": "/api/v2/catalog/sku/10121!buy",
"UriDescription": "Buy Catalog Sku",
"EndpointType": "CatalogSkuBuy"
},
"CatalogSkuBatchAdd": {
"Uri": "/api/v2/catalog/sku/10121!batchadd",
"Locator": "CatalogSkuBatchAdd",
"LocatorType": "Object",
"UriDescription": "Batch Add Catalog Sku",
"EndpointType": "CatalogSkuBatchAdd"
}
}
},
"UriDescription": "Catalog Sku by ID",
"EndpointType": "CatalogSku",
"Timing": {
"Total": {
"time": 0.02608,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}