createSkus

put

/ccadmin/v1/skus

Create Skus. Create skus for product based on the input request parameters. **Requires the x-ccasset-language header so translated content can be set for a specific language.**

Request

Supported Media Types
Header Parameters
Body ()
Root Schema : createSkus_request
Type: object
Show Source
Example:
{
    "productId":"xprod12345",
    "variants":[
        {
            "color":"red",
            "id":"sku1",
            "listPrice":"200"
        },
        {
            "color":"blue",
            "id":"sku2"
        }
    ]
}
Nested Schema : variants
Type: array
Array of SKUs to be created. Individual SKU IDs must be specified. Variant properties must be included, as appropriate. listPrice can be included optionally.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : configurationMetadata
Type: array
Array of configuration attributes associated with the SKU.
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Following model is returned when operation succeeds.
Body ()
Root Schema : createSkus_response
Type: object
Show Source
Nested Schema : items
Type: array
the list of created skus
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : configurationMetadata
Type: array
Array of configuration attributes associated with the SKU.
Show Source
Nested Schema : fullImageURLs
Type: array
Full Image URLs of SKU.
Show Source
Nested Schema : images
Type: array
Array of images for the SKU.
Show Source
Nested Schema : largeImageURLs
Type: array
Large Image URLs of SKU.
Show Source
Nested Schema : listVolumePrice
Type: object
list volume price of the SKU
Show Source
Nested Schema : listVolumePrices
Type: object
Object with price group IDs as keys and list prices as values
Show Source
Nested Schema : mediumImageURLs
Type: array
Medium Image URLs SKU.
Show Source
Nested Schema : saleVolumePrice
Type: object
Sale volume price of the SKU
Show Source
Nested Schema : saleVolumePrices
Type: object
Object with price group IDs as keys and sale prices as values
Show Source
Nested Schema : smallImageURLs
Type: array
Small Image URLs of SKU.
Show Source
Nested Schema : sourceImageURLs
Type: array
Source Image URLs of SKU.
Show Source
Nested Schema : thumbImageURLs
Type: array
Thumb Image URLs of SKU.
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : metadata
Type: object
Seo meta info.
Show Source
Nested Schema : tags
Type: array
Tags for the image.
Show Source
Nested Schema : pricingScheme
Type: object
Pricing scheme can be either tieredPrice or bulkPrice
Show Source
Nested Schema : levels
Type: array
Price levels array for volume price
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : PriceGroupID1
Type: object
List price of the SKU in price group 1
Show Source
Nested Schema : PriceGroupID2
Type: object
List price of the SKU in price group 2
Show Source
Nested Schema : pricingScheme
Type: object
Pricing scheme can be either tieredPrice or bulkPrice
Show Source
Nested Schema : levels
Type: array
Price levels array for volume price
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : pricingScheme
Type: object
Pricing scheme can be either tieredPrice or bulkPrice
Show Source
Nested Schema : levels
Type: array
Price levels array for volume price
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : pricingScheme
Type: object
Pricing scheme can be either tieredPrice or bulkPrice
Show Source
Nested Schema : levels
Type: array
Price levels array for volume price
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : PriceGroupID1
Type: object
Sale price of the SKU in price group 1
Show Source
Nested Schema : PriceGroupID2
Type: object
Sale price of the SKU in price group 2
Show Source
Nested Schema : pricingScheme
Type: object
Pricing scheme can be either tieredPrice or bulkPrice
Show Source
Nested Schema : levels
Type: array
Price levels array for volume price
Show Source
Nested Schema : items
Type: object
Show Source
Nested Schema : pricingScheme
Type: object
Pricing scheme can be either tieredPrice or bulkPrice
Show Source
Nested Schema : levels
Type: array
Price levels array for volume price
Show Source
Nested Schema : items
Type: object
Show Source
Example Response (application/json)
[
    {
        "productFamily":null,
        "dynamicPropertyMapLong":{
            "sku-MensApparel_color":2
        },
        "primaryThumbImageURL":null,
        "largeImage":null,
        "smallImage":null,
        "color":"red",
        "nonreturnable":false,
        "listPrices":{
            "UsDollar":"200"
        },
        "salePrices":null,
        "primaryFullImageURL":null,
        "configurationMetadata":[
        ],
        "productListingSku":null,
        "largeImageURLs":[
        ],
        "productLine":null,
        "primaryLargeImageURL":null,
        "smallImageURLs":[
        ],
        "model":null,
        "thumbnailImage":null,
        "discountable":true,
        "barcode":null,
        "salePriceEndDate":null,
        "salePriceStartDate":null,
        "images":[
        ],
        "quantity":null,
        "salePrice":null,
        "primaryMediumImageURL":null,
        "fullImageURLs":[
        ],
        "active":true,
        "thumbImageURLs":[
        ],
        "mediumImageURLs":[
        ],
        "repositoryId":"sku1",
        "primarySourceImageURL":null,
        "primarySmallImageURL":null,
        "sourceImageURLs":[
        ],
        "listPrice":"200",
        "configurable":"false"
    },
    {
        "productFamily":null,
        "dynamicPropertyMapLong":{
            "sku-MensApparel_color":3
        },
        "primaryThumbImageURL":null,
        "largeImage":null,
        "smallImage":null,
        "listVolumePrice":null,
        "color":"Blue",
        "nonreturnable":false,
        "listPrices":null,
        "salePrices":null,
        "primaryFullImageURL":null,
        "configurationMetadata":[
        ],
        "productListingSku":null,
        "largeImageURLs":[
        ],
        "productLine":null,
        "listVolumePrices":null,
        "primaryLargeImageURL":null,
        "smallImageURLs":[
        ],
        "model":null,
        "thumbnailImage":null,
        "discountable":true,
        "saleVolumePrices":null,
        "barcode":null,
        "salePriceEndDate":null,
        "saleVolumePrice":null,
        "salePriceStartDate":null,
        "images":[
        ],
        "quantity":null,
        "salePrice":null,
        "primaryMediumImageURL":null,
        "fullImageURLs":[
        ],
        "active":true,
        "thumbImageURLs":[
        ],
        "mediumImageURLs":[
        ],
        "repositoryId":"sku2",
        "primarySourceImageURL":null,
        "primarySmallImageURL":null,
        "sourceImageURLs":[
        ],
        "listPrice":null,
        "configurable":"false"
    }
]

Default Response

The error response
Body ()
Root Schema : errorModel
Type: object
Show Source
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top