Skip to content

Commit 0210d76

Browse files
authored
Merge pull request #261 from Aals0n/patch-1
add global_unique_id to product (simple & variation)
2 parents 0c71466 + 660fb1b commit 0210d76

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/includes/v3/_products.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ This section lists all API endpoints that can be used to create, edit or otherwi
1616
| `downloadable` | boolean | If the product is downloadable or not. Downloadable products give access to a file upon purchase |
1717
| `virtual` | boolean | If the product is virtual or not. Virtual products are intangible and aren't shipped |
1818
| `permalink` | string | Product URL (post permalink) <i class="label label-info">read-only</i> |
19-
| `sku` | string | SKU refers to a Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased |
19+
| `sku` | string | SKU refers to a Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased
20+
| `global_unique_id` | string | GTIN, UPC, EAN or ISBN - a unique identifier for each distinct product and service that can be purchased|
2021
| `price` | string | Current product price. This is setted from `regular_price` and `sale_price` <i class="label label-info">read-only</i> |
2122
| `regular_price` | string | Product regular price |
2223
| `sale_price` | string | Product sale price |
@@ -139,7 +140,8 @@ This section lists all API endpoints that can be used to create, edit or otherwi
139140
| `downloadable` | boolean | If the variation is downloadable or not. Downloadable variations give access to a file upon purchase |
140141
| `virtual` | boolean | If the variation is virtual or not. Virtual variations are intangible and aren't shipped |
141142
| `permalink` | string | Variation URL (post permalink) <i class="label label-info">read-only</i> |
142-
| `sku` | string | SKU refers to a Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased |
143+
| `sku` | string | SKU refers to a Stock-keeping unit, a unique identifier for each distinct product and service that can be purchased
144+
| `global_unique_id` | string | GTIN, UPC, EAN or ISBN - a unique identifier for each distinct product and service that can be purchased
143145
| `price` | string | Current variation price. This is setted from `regular_price` and `sale_price` <i class="label label-info">read-only</i> |
144146
| `regular_price` | string | Variation regular price |
145147
| `sale_price` | string | Variation sale price |

0 commit comments

Comments
 (0)