Response [200 Ok]

Uri /api/v2/catalog/sku/2536256!buy
UriDescription Buy Catalog Sku
EndpointType CatalogSkuBuy

Timing

Total

cycles 1
objects 0
time 0.02123

Request

Uri /api/v2/catalog/sku/2536256!buy
Method GET
Version v2

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Path

  • /api
  • /v2
  • /catalog
  • /sku
  • /
  • !buy

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

POST

Permissions
  • Read

Parameters

POST

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/catalog/sku/2536256!buy"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            },
            "POST": {
                "Permissions": [
                    "Read"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET",
            "POST"
        ],
        "ParameterDescription": {
            "Uri": "Absolute or relative URL, restricted to Locator(s) of the supplied URL if not null.   Up to a MAX_LENGTH in length.",
            "Integer": "Integer value in the range MIN_VALUE to MAX_VALUE, inclusive",
            "Boolean": "For true return type true or 1, for false type false or 0"
        },
        "Parameters": {
            "POST": [
                {
                    "Name": "Album",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Uri",
                    "MAX_LENGTH": "INFINITY",
                    "Locator": []
                },
                {
                    "Name": "CropHeight",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Integer",
                    "MIN_VALUE": 0,
                    "MAX_VALUE": 16777215
                },
                {
                    "Name": "CropLeft",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Integer",
                    "MIN_VALUE": -8388608,
                    "MAX_VALUE": 8388607
                },
                {
                    "Name": "CropTop",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Integer",
                    "MIN_VALUE": -8388608,
                    "MAX_VALUE": 8388607
                },
                {
                    "Name": "CropWidth",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Integer",
                    "MIN_VALUE": 0,
                    "MAX_VALUE": 16777215
                },
                {
                    "Name": "CropRotation",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Integer",
                    "MIN_VALUE": 0,
                    "MAX_VALUE": 16777215
                },
                {
                    "Name": "Image",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": null,
                    "Type": "Uri",
                    "MAX_LENGTH": "INFINITY",
                    "Locator": []
                },
                {
                    "Name": "Quantity",
                    "Required": true,
                    "ReadOnly": false,
                    "Default": 1,
                    "Type": "Integer",
                    "MIN_VALUE": 1,
                    "MAX_VALUE": 32767
                },
                {
                    "Name": "Source",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": 1,
                    "Type": "Integer",
                    "MIN_VALUE": 1,
                    "MAX_VALUE": 127
                },
                {
                    "Name": "CropAcknowledged",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": false,
                    "Type": "Boolean"
                }
            ]
        },
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Path": [
            {
                "type": "path",
                "text": "api"
            },
            {
                "type": "path",
                "text": "v2"
            },
            {
                "type": "path",
                "text": "catalog"
            },
            {
                "type": "path",
                "text": "sku"
            },
            {
                "type": "singleparam",
                "param_name": "SkuID",
                "param_value": "2536256",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "buy"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/catalog/sku/2536256!buy",
        "UriDescription": "Buy Catalog Sku",
        "EndpointType": "CatalogSkuBuy",
        "Timing": {
            "Total": {
                "time": 0.02123,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}