The SKU object

The SKU (acronym from Stock Keeping Unit) is tightly related to the product object. It basically reflects its different variants. One product can have many SKUs which are characterised by the product attributes.

AttributeDescriptionExample
id
string
A unique sku identifier.sku_ggQ9BeMJVsdozI
source_id
string
A unique sku identifier from your inventory system.internal_sku_id_1477473569
sku
string
A stock keeping unit label.APPLE_IPHONE_7_BLACK_32
price
integer
attributes
object
A map of sku attributes values (attributes are defined in the product object)."attributes": { "color": "black", "memory": "32" }
created_at
'string', ISO 8601 date format
A sku creation date.2016-11-16T14:14:31Z
object
string
Value is sku.
metadata
object
A set of custom key/value pairs that you can attach to a product object."metadata": { "country": "us" }
{  
  "id":"sku_0KtP4rvwEECQ2U",
  "source_id":"internal_erp_sku_id_1477475922",
  "sku":"APPLE_IPHONE_7_BLACK_32",
  "attributes":{  
    "color":"black",
    "memory":"32"
  },
  "created_at":"2016-10-26T10:04:52Z",
  "object":"sku",
  "metadata": { 
    "country": "us"
    }
}