Copy {
"data" : {
"id" : "xYZkjABcde" ,
"type" : "in_stock_subscriptions" ,
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde"
} ,
"attributes" : {
"created_at" : "2018-01-01T12:00:00.000Z" ,
"customer_email" : "john@example.com" ,
"metadata" : {
"foo" : "bar"
} ,
"reference" : "ANY-EXTERNAL-REFEFERNCE" ,
"reference_origin" : "ANY-EXTERNAL-REFEFERNCE-ORIGIN" ,
"sku_code" : "TSHIRTMM000000FFFFFFXLXX" ,
"status" : "active" ,
"stock_threshold" : 3 ,
"updated_at" : "2018-01-01T12:00:00.000Z"
} ,
"relationships" : {
"customer" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/relationships/customer" ,
"related" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/customer"
}
} ,
"events" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/relationships/events" ,
"related" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/events"
}
} ,
"market" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/relationships/market" ,
"related" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/market"
}
} ,
"sku" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/relationships/sku" ,
"related" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/sku"
}
} ,
"versions" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/relationships/versions" ,
"related" : "https://yourdomain.commercelayer.io/api/in_stock_subscriptions/xYZkjABcde/versions"
}
}
} ,
"meta" : {
"mode" : "test"
}
}
}