2020-10-21 17:25:13 +00:00
|
|
|
{
|
|
|
|
"url": "http://localhost:8084/",
|
|
|
|
"users": {
|
|
|
|
"admin": {
|
|
|
|
"username": "admin",
|
|
|
|
"password": "password"
|
|
|
|
},
|
|
|
|
"customer": {
|
|
|
|
"username": "customer",
|
|
|
|
"password": "password"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"products": {
|
|
|
|
"simple": {
|
|
|
|
"name": "Simple product"
|
|
|
|
},
|
|
|
|
"variable": {
|
2021-03-02 22:47:01 +00:00
|
|
|
"name": "Variable Product with Three Attributes",
|
|
|
|
"defaultAttributes": [
|
|
|
|
{
|
|
|
|
"id": 0,
|
|
|
|
"name": "Size",
|
|
|
|
"option": "Medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 0,
|
|
|
|
"name": "Colour",
|
|
|
|
"option": "Blue"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"id": 0,
|
|
|
|
"name": "Colour",
|
2021-06-09 07:55:47 +00:00
|
|
|
"isVisibleOnProductPage": true,
|
|
|
|
"isForVariations": true,
|
2021-03-02 22:47:01 +00:00
|
|
|
"options": [
|
|
|
|
"Red",
|
|
|
|
"Green",
|
|
|
|
"Blue"
|
|
|
|
],
|
|
|
|
"sortOrder": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 0,
|
|
|
|
"name": "Size",
|
2021-06-09 07:55:47 +00:00
|
|
|
"isVisibleOnProductPage": true,
|
|
|
|
"isForVariations": true,
|
2021-03-02 22:47:01 +00:00
|
|
|
"options": [
|
|
|
|
"Small",
|
|
|
|
"Medium",
|
|
|
|
"Large"
|
|
|
|
],
|
|
|
|
"sortOrder": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": 0,
|
|
|
|
"name": "Logo",
|
2021-06-09 07:55:47 +00:00
|
|
|
"isVisibleOnProductPage": true,
|
|
|
|
"isForVariations": true,
|
2021-03-02 22:47:01 +00:00
|
|
|
"options": [
|
|
|
|
"Woo",
|
|
|
|
"WordPress"
|
|
|
|
],
|
|
|
|
"sortOrder": 0
|
|
|
|
}
|
|
|
|
]
|
2021-02-24 19:48:27 +00:00
|
|
|
},
|
2021-03-02 22:47:01 +00:00
|
|
|
"variations": [
|
|
|
|
{
|
|
|
|
"regularPrice": "19.99",
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"name": "Size",
|
|
|
|
"option": "Large"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Colour",
|
|
|
|
"option": "Red"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regularPrice": "18.99",
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"name": "Size",
|
|
|
|
"option": "Medium"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Colour",
|
|
|
|
"option": "Green"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"regularPrice": "17.99",
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"name": "Size",
|
|
|
|
"option": "Small"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Colour",
|
|
|
|
"option": "Blue"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-02-24 19:48:27 +00:00
|
|
|
"grouped": {
|
|
|
|
"name": "Grouped Product with Three Children",
|
|
|
|
"groupedProducts": [
|
|
|
|
{
|
|
|
|
"name": "Base Unit",
|
|
|
|
"regularPrice": "29.99"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Add-on A",
|
|
|
|
"regularPrice": "11.95"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Add-on B",
|
|
|
|
"regularPrice": "18.97"
|
|
|
|
}
|
|
|
|
]
|
2021-02-26 17:51:42 +00:00
|
|
|
},
|
2021-02-23 08:17:45 +00:00
|
|
|
"external": {
|
|
|
|
"name": "External product",
|
|
|
|
"regularPrice": "24.99",
|
|
|
|
"buttonText": "Buy now",
|
|
|
|
"externalUrl": "https://wordpress.org/plugins/woocommerce"
|
2020-10-21 17:25:13 +00:00
|
|
|
}
|
|
|
|
},
|
2021-03-02 15:57:30 +00:00
|
|
|
"coupons": {
|
|
|
|
"percentage": {
|
|
|
|
"code": "20percent",
|
|
|
|
"discountType": "percent",
|
|
|
|
"amount": "20.00"
|
|
|
|
}
|
2021-03-01 18:36:04 +00:00
|
|
|
},
|
2020-10-21 17:25:13 +00:00
|
|
|
"addresses": {
|
|
|
|
"admin": {
|
|
|
|
"store": {
|
|
|
|
"firstname": "John",
|
|
|
|
"lastname": "Doe",
|
|
|
|
"company": "Automattic",
|
|
|
|
"country": "United States (US)",
|
|
|
|
"addressfirstline": "addr 1",
|
|
|
|
"addresssecondline": "addr 2",
|
|
|
|
"countryandstate": "United States (US) — California",
|
|
|
|
"city": "San Francisco",
|
|
|
|
"state": "CA",
|
|
|
|
"postcode": "94107"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"customer": {
|
|
|
|
"billing": {
|
|
|
|
"firstname": "John",
|
|
|
|
"lastname": "Doe",
|
|
|
|
"company": "Automattic",
|
|
|
|
"country": "United States (US)",
|
|
|
|
"addressfirstline": "addr 1",
|
|
|
|
"addresssecondline": "addr 2",
|
|
|
|
"city": "San Francisco",
|
|
|
|
"state": "CA",
|
|
|
|
"postcode": "94107",
|
|
|
|
"phone": "123456789",
|
|
|
|
"email": "john.doe@example.com"
|
|
|
|
},
|
|
|
|
"shipping": {
|
|
|
|
"firstname": "John",
|
|
|
|
"lastname": "Doe",
|
|
|
|
"company": "Automattic",
|
|
|
|
"country": "United States (US)",
|
|
|
|
"addressfirstline": "addr 1",
|
|
|
|
"addresssecondline": "addr 2",
|
|
|
|
"city": "San Francisco",
|
|
|
|
"state": "CA",
|
|
|
|
"postcode": "94107"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2021-05-04 02:21:00 +00:00
|
|
|
"orders": {
|
|
|
|
"basicPaidOrder": {
|
|
|
|
"paymentMethod": "cod",
|
|
|
|
"status": "processing",
|
|
|
|
"billing": {
|
|
|
|
"firstName": "John",
|
|
|
|
"lastName": "Doe",
|
|
|
|
"email": "john.doe@example.com"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-10-21 17:25:13 +00:00
|
|
|
"onboardingwizard": {
|
|
|
|
"industry": "Test industry",
|
|
|
|
"numberofproducts": "1 - 10",
|
|
|
|
"sellingelsewhere": "No"
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"shipping": {
|
|
|
|
"zonename": "United States",
|
|
|
|
"zoneregions": "United States (US)",
|
|
|
|
"shippingmethod": "Free shipping"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|