@@ -5,7 +5,7 @@ This section lists all API that can be used to create, edit or otherwise manipul
5
5
## Products Properties ##
6
6
7
7
| Attribute | Type | Description |
8
- | ------------------------------- | ------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
8
+ | --------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
9
9
| ` title ` | string | Product name |
10
10
| ` id ` | integer | Product ID (post ID) <i class =" label label-info " >read-only</i > |
11
11
| ` created_at ` | string | UTC DateTime when the product was created <i class =" label label-info " >read-only</i > |
@@ -16,11 +16,11 @@ This section lists all API that can be used to create, edit or otherwise manipul
16
16
| ` virtual ` | boolean | If the product is virtual or not. Virtual products are intangible and aren't shipped |
17
17
| ` permalink ` | string | Product URL (post permalink) <i class =" label label-info " >read-only</i > |
18
18
| ` sku ` | string | SKU refers to a Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased |
19
- | ` price ` | float | Current product price. This is setted from ` regular_price ` and ` sale_price ` <i class =" label label-info " >read-only</i > |
20
- | ` regular_price ` | float | Product regular price |
21
- | ` sale_price ` | float | Product sale price |
22
- | ` sale_price_dates_from ` | float | Sets the sale start date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
23
- | ` sale_price_dates_to ` | float | Sets the sale end date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
19
+ | ` price ` | string | Current product price. This is setted from ` regular_price ` and ` sale_price ` <i class =" label label-info " >read-only</i > |
20
+ | ` regular_price ` | string | Product regular price |
21
+ | ` sale_price ` | string | Product sale price |
22
+ | ` sale_price_dates_from ` | string | Sets the sale start date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
23
+ | ` sale_price_dates_to ` | string | Sets the sale end date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
24
24
| ` price_html ` | string | Price formatted in HTML, e.g. ` <del><span class=\"amount\">$ 3.00</span></del> <ins><span class=\"amount\">$ 2.00</span></ins> ` <i class =" label label-info " >read-only</i > |
25
25
| ` taxable ` | boolean | Show if the product is taxable or not <i class =" label label-info " >read-only</i > |
26
26
| ` tax_status ` | string | Tax status. The options are: ` taxable ` , ` shipping ` (Shipping only) and ` none ` |
@@ -130,11 +130,11 @@ This section lists all API that can be used to create, edit or otherwise manipul
130
130
| ` virtual ` | boolean | If the variation is virtual or not. Virtual variations are intangible and aren't shipped |
131
131
| ` permalink ` | string | Variation URL (post permalink) <i class =" label label-info " >read-only</i > |
132
132
| ` sku ` | string | SKU refers to a Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased |
133
- | ` price ` | float | Current variation price. This is setted from ` regular_price ` and ` sale_price ` <i class =" label label-info " >read-only</i > |
134
- | ` regular_price ` | float | Variation regular price |
135
- | ` sale_price ` | float | Variation sale price |
136
- | ` sale_price_dates_from ` | float | Sets the sale start date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
137
- | ` sale_price_dates_to ` | float | Sets the sale end date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
133
+ | ` price ` | string | Current variation price. This is setted from ` regular_price ` and ` sale_price ` <i class =" label label-info " >read-only</i > |
134
+ | ` regular_price ` | string | Variation regular price |
135
+ | ` sale_price ` | string | Variation sale price |
136
+ | ` sale_price_dates_from ` | string | Sets the sale start date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
137
+ | ` sale_price_dates_to ` | string | Sets the sale end date. Date in the ` YYYY-MM-DD ` format <i class =" label label-info " >write-only</i > |
138
138
| ` taxable ` | boolean | Show if the variation is taxable or not <i class =" label label-info " >read-only</i > |
139
139
| ` tax_status ` | string | Tax status. The options are: ` taxable ` , ` shipping ` (Shipping only) and ` none ` |
140
140
| ` tax_class ` | string | Tax class |
0 commit comments