Skip to content

Instantly share code, notes, and snippets.

@Zaglov
Last active February 2, 2018 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zaglov/f520a7fed3948d38be609e00c24475c1 to your computer and use it in GitHub Desktop.
Save Zaglov/f520a7fed3948d38be609e00c24475c1 to your computer and use it in GitHub Desktop.
{
"data": {
"sku": "ABC",
"title": "Kurstest",
"slug": "",
"description": "",
"type": "product",
"backorders": "no",
"manage_stock": false,
"stock": null,
"stock_status": "instock",
"tags": [],
"attributes": [
{
"label": "Kurs Paket",
"slug": "course-package",
"visible": 1,
"variation": true,
"taxonomy": 1,
"options": [
"vip",
"basic"
]
},
{
"label": "course-lections-lenght",
"slug": "course-lections-lenght",
"visible": 1,
"variation": true,
"taxonomy": 1,
"options": [
"120",
"60"
]
},
{
"label": "Kursinhalt",
"slug": "course-content",
"visible": 1,
"variation": false,
"taxonomy": 1,
"options": [
"general-topics"
]
},
{
"label": "Kursform Detail",
"slug": "course-form-detail",
"visible": 1,
"variation": false,
"taxonomy": 1,
"options": [
"private-course-online"
]
},
{
"label": "Kursform",
"slug": "course-form",
"visible": 1,
"variation": false,
"taxonomy": 1,
"options": [
"private-lessons-2"
]
}
],
"variations": [
{
"sku": "ABC-BASIC-60",
"master_sku": "ABC",
"title": "Kurstest",
"slug": "kurstest",
"description": "",
"type": "product_variation",
"backorders": "no",
"manage_stock": false,
"stock": null,
"stock_status": "instock",
"variation_attributes": {
"course-package": "basic",
"course-lections-lenght": "60"
},
"price_lists": [
{
"regular_price": "100",
"sale_price": "",
"sale_price_dates_from": "",
"sale_price_dates_to": "",
"slug": "default"
}
]
},
{
"sku": "ABC-VIP-60",
"master_sku": "ABC",
"title": "Kurstest",
"slug": "kurstest-2",
"description": "",
"type": "product_variation",
"backorders": "no",
"manage_stock": false,
"stock": null,
"stock_status": "instock",
"variation_attributes": {
"course-package": "vip",
"course-lections-lenght": "60"
},
"price_lists": [
{
"regular_price": "120",
"sale_price": "",
"sale_price_dates_from": "",
"sale_price_dates_to": "",
"slug": "default"
}
]
},
{
"sku": "ABC-VIP-120",
"master_sku": "ABC",
"title": "Kurstest",
"slug": "kurstest-3",
"description": "",
"type": "product_variation",
"backorders": "no",
"manage_stock": false,
"stock": null,
"stock_status": "instock",
"variation_attributes": {
"course-package": "vip",
"course-lections-lenght": "120"
},
"price_lists": [
{
"regular_price": "100",
"sale_price": "",
"sale_price_dates_from": "",
"sale_price_dates_to": "",
"slug": "default"
}
]
}
]
},
"shop": "schneider-de"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment