Skip to content

Commit ed5e588

Browse files
committed
shipping classes
1 parent de9b0da commit ed5e588

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/includes/wp-api-v1/_product-shipping-classes.md

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

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

5-
## Product Shipping Class Properties ##
5+
## Shipping class properties ##
66

77
| Attribute | Type | Description |
88
|---------------|---------|------------------------------------------------------------------------------------------|
@@ -12,11 +12,11 @@ This section lists all API endpoints that can be used to create, edit or otherwi
1212
| `description` | string | HTML description of the resource. |
1313
| `count` | integer | Number of published products for the resource. <i class="label label-info">read-only</i> |
1414

15-
## Create a Product Shipping Class ##
15+
## Create a shipping class ##
1616

1717
This API helps you to create a new product shipping class.
1818

19-
### HTTP Request ###
19+
### HTTP request ###
2020

2121
<div class="api-endpoint">
2222
<div class="endpoint-data">
@@ -96,7 +96,7 @@ woocommerce.post("products/shipping_classes", data).parsed_response
9696
}
9797
```
9898

99-
## View a Product Shipping Class ##
99+
## Retrieve a shipping class ##
100100

101101
This API lets you retrieve a product shipping class by ID.
102102

@@ -154,7 +154,7 @@ woocommerce.get("products/shipping_classes/32").parsed_response
154154
}
155155
```
156156

157-
## View List of Product Shipping Classes ##
157+
## List all shipping classes ##
158158

159159
This API lets you retrieve all product shipping classes.
160160

@@ -233,7 +233,7 @@ woocommerce.get("products/shipping_classes").parsed_response
233233
]
234234
```
235235

236-
#### Available Parameters ####
236+
#### Available parameters ####
237237

238238
| Parameter | Type | Description |
239239
|--------------|---------|--------------------------------------------------------------------------------------------------------------------------------------------|
@@ -249,11 +249,11 @@ woocommerce.get("products/shipping_classes").parsed_response
249249
| `product` | integer | Limit result set to resources assigned to a specific product. |
250250
| `slug` | string | Limit result set to resources with a specific slug. |
251251

252-
## Update a Product Shipping Class ##
252+
## Update a shipping class ##
253253

254254
This API lets you make changes to a product shipping class.
255255

256-
### HTTP Request ###
256+
### HTTP request ###
257257

258258
<div class="api-endpoint">
259259
<div class="endpoint-data">
@@ -331,11 +331,11 @@ woocommerce.put("products/shipping_classes/32", data).parsed_response
331331
}
332332
```
333333

334-
## Delete a Product Shipping Class ##
334+
## Delete a shipping class ##
335335

336336
This API helps you delete a product shipping class.
337337

338-
### HTTP Request ###
338+
### HTTP request ###
339339

340340
<div class="api-endpoint">
341341
<div class="endpoint-data">
@@ -391,17 +391,17 @@ woocommerce.delete("products/shipping_classes/32", force: true).parsed_response
391391
}
392392
```
393393

394-
#### Available Parameters ####
394+
#### Available parameters ####
395395

396396
| Parameter | Type | Description |
397397
|-----------|--------|---------------------------------------------------------------|
398398
| `force` | string | Required to be `true`, as resource does not support trashing. |
399399

400-
## Create/Update/Delete Multiple Product Shipping Classes ##
400+
## Batch update shipping classes ##
401401

402402
This API helps you to batch create, update and delete multiple product shipping classes.
403403

404-
### HTTP Request ###
404+
### HTTP request ###
405405

406406
<div class="api-endpoint">
407407
<div class="endpoint-data">

0 commit comments

Comments
 (0)