Skip to content

Commit de9b0da

Browse files
committed
categories
1 parent 8ad948a commit de9b0da

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/includes/wp-api-v1/_product-categories.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Product - Categories #
1+
# Product Categories #
22

33
This section lists all API endpoints that can be used to create, edit or otherwise manipulate product categories.
44

5-
## Product Category Properties ##
5+
## Product category properties ##
66

77
| Attribute | Type | Description |
88
|---------------|---------|-----------------------------------------------------------------------------------------------------------------|
@@ -16,11 +16,11 @@ This section lists all API endpoints that can be used to create, edit or otherwi
1616
| `menu_order` | integer | Menu order, used to custom sort the resource. |
1717
| `count` | integer | Number of published products for the resource. <i class="label label-info">read-only</i> |
1818

19-
## Create a Product Category ##
19+
## Create a product category ##
2020

2121
This API helps you to create a new product category.
2222

23-
### HTTP Request ###
23+
### HTTP request ###
2424

2525
<div class="api-endpoint">
2626
<div class="endpoint-data">
@@ -104,7 +104,7 @@ woocommerce.post("products/categories", data).parsed_response
104104
}
105105
```
106106

107-
## View a Product Category ##
107+
## Retrieve a product category ##
108108

109109
This API lets you retrieve a product category by ID.
110110

@@ -166,7 +166,7 @@ woocommerce.get("products/categories/9").parsed_response
166166
}
167167
```
168168

169-
## View List of Product Categories ##
169+
## List all product categories ##
170170

171171
This API lets you retrieve all product categories.
172172

@@ -388,7 +388,7 @@ woocommerce.get("products/categories").parsed_response
388388
]
389389
```
390390

391-
#### Available Parameters ####
391+
#### Available parameters ####
392392

393393
| Parameter | Type | Description |
394394
|--------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------|
@@ -405,11 +405,11 @@ woocommerce.get("products/categories").parsed_response
405405
| `product` | integer | Limit result set to resources assigned to a specific product. |
406406
| `slug` | string | Limit result set to resources with a specific slug. |
407407

408-
## Update a Product Category ##
408+
## Update a product category ##
409409

410410
This API lets you make changes to a product category.
411411

412-
### HTTP Request ###
412+
### HTTP request ###
413413

414414
<div class="api-endpoint">
415415
<div class="endpoint-data">
@@ -501,11 +501,11 @@ woocommerce.put("products/categories/9", data).parsed_response
501501
}
502502
```
503503

504-
## Delete a Product Category ##
504+
## Delete a product category ##
505505

506506
This API helps you delete a product category.
507507

508-
### HTTP Request ###
508+
### HTTP request ###
509509

510510
<div class="api-endpoint">
511511
<div class="endpoint-data">
@@ -565,17 +565,17 @@ woocommerce.delete("products/categories/9", force: true).parsed_response
565565
}
566566
```
567567

568-
#### Available Parameters ####
568+
#### Available parameters ####
569569

570570
| Parameter | Type | Description |
571571
|-----------|--------|---------------------------------------------------------------|
572572
| `force` | string | Required to be `true`, as resource does not support trashing. |
573573

574-
## Create/Update/Delete Multiple Product Categories ##
574+
## Batch update product categories ##
575575

576576
This API helps you to batch create, update and delete multiple product categories.
577577

578-
### HTTP Request ###
578+
### HTTP request ###
579579

580580
<div class="api-endpoint">
581581
<div class="endpoint-data">

0 commit comments

Comments
 (0)