Skip to content

Commit a1e07a4

Browse files
Fixed standards
1 parent a57f5f4 commit a1e07a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/includes/wp-api-v1/_products.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The products API allows you to create, view, update, and delete individual, or a
66

77
| Attribute | Type | Description |
88
|----------------------|-----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
9-
| `id` | integer | Unique identifier for the resource. <i class="label label-info">read-only</i> |
9+
| `id` | integer | Unique identifier for the resource. <i class="label label-info">read-only</i> 'categories' => [ |
1010
| `name` | string | Product name. |
1111
| `slug` | string | Product slug. |
1212
| `permalink` | string | Product URL. <i class="label label-info">read-only</i> |
@@ -264,10 +264,10 @@ $data = [
264264
'short_description' => 'Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.',
265265
'categories' => [
266266
[
267-
'id'=> 9
267+
'id' => 9
268268
],
269269
[
270-
'id'=> 14
270+
'id' => 14
271271
]
272272
],
273273
'images' => [

0 commit comments

Comments
 (0)