1
- # Product - Attribute Terms #
1
+ # Product Attribute Terms #
2
2
3
3
This section lists all API endpoints that can be used to create, edit or otherwise manipulate product attribute terms.
4
4
5
- ## Product Attribute Properties ##
5
+ ## Attribute term properties ##
6
6
7
7
| Attribute | Type | Description |
8
8
| --------------| ---------| ------------------------------------------------------------------------------------------|
@@ -12,11 +12,11 @@ This section lists all API endpoints that can be used to create, edit or otherwi
12
12
| ` menu_order ` | integer | Menu order, used to custom sort the resource. |
13
13
| ` count ` | integer | Number of published products for the resource. <i class =" label label-info " >read-only</i > |
14
14
15
- ## Create a Product Attribute Term ##
15
+ ## Create an attribute term ##
16
16
17
17
This API helps you to create a new product attribute term.
18
18
19
- ### HTTP Request ###
19
+ ### HTTP request ###
20
20
21
21
<div class =" api-endpoint " >
22
22
<div class="endpoint-data">
@@ -94,7 +94,7 @@ woocommerce.post("products/attributes/2/terms", data).parsed_response
94
94
}
95
95
```
96
96
97
- ## View a Product Attribute Term ##
97
+ ## Retrieve an attribute term ##
98
98
99
99
This API lets you retrieve a product attribute term by ID.
100
100
@@ -152,7 +152,7 @@ woocommerce.get("products/attributes/2/terms/23").parsed_response
152
152
}
153
153
```
154
154
155
- ## View List of Product Attribute Terms ##
155
+ ## List all attribute terms ##
156
156
157
157
This API lets you retrieve all terms from a product attribute.
158
158
@@ -326,7 +326,7 @@ woocommerce.get("products/attributes/2/terms").parsed_response
326
326
]
327
327
```
328
328
329
- #### Available Parameters ####
329
+ #### Available parameters ####
330
330
331
331
| Parameter | Type | Description |
332
332
| --------------| ---------| --------------------------------------------------------------------------------------------------------------------------------------------|
@@ -343,11 +343,11 @@ woocommerce.get("products/attributes/2/terms").parsed_response
343
343
| ` product ` | integer | Limit result set to resources assigned to a specific product. |
344
344
| ` slug ` | string | Limit result set to resources with a specific slug. |
345
345
346
- ## Update a Product Attribute Term ##
346
+ ## Update an attribute term ##
347
347
348
348
This API lets you make changes to a product attribute term.
349
349
350
- ### HTTP Request ###
350
+ ### HTTP request ###
351
351
352
352
<div class =" api-endpoint " >
353
353
<div class="endpoint-data">
@@ -425,11 +425,11 @@ woocommerce.put("products/attributes/2/terms/23", data).parsed_response
425
425
}
426
426
```
427
427
428
- ## Delete a Product Attribute Term ##
428
+ ## Delete an attribute term ##
429
429
430
430
This API helps you delete a product attribute term.
431
431
432
- ### HTTP Request ###
432
+ ### HTTP request ###
433
433
434
434
<div class =" api-endpoint " >
435
435
<div class="endpoint-data">
@@ -485,17 +485,17 @@ woocommerce.delete("products/attributes/2/terms/23", force: true).parsed_respons
485
485
}
486
486
```
487
487
488
- #### Available Parameters ####
488
+ #### Available parameters ####
489
489
490
490
| Parameter | Type | Description |
491
491
| -----------| --------| ---------------------------------------------------------------|
492
492
| ` force ` | string | Required to be ` true ` , as resource does not support trashing. |
493
493
494
- ## Create/Update/Delete Multiple Product Attribute Terms ##
494
+ ## Batch update attribute terms ##
495
495
496
496
This API helps you to batch create, update and delete multiple product attribute terms.
497
497
498
- ### HTTP Request ###
498
+ ### HTTP request ###
499
499
500
500
<div class =" api-endpoint " >
501
501
<div class="endpoint-data">
0 commit comments