Skip to content

Commit

Permalink
[API][Product] Add note in UPGRADE file about changing identifier for…
Browse files Browse the repository at this point in the history
… shop endpoint
  • Loading branch information
GSadee committed Nov 13, 2020
1 parent da42a21 commit 1c29fcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions UPGRADE-1.9.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@
```

1. Unified API registration path in shop has been changed from `/new-api/shop/register` to `/new-api/shop/customers/`.

1. Identifier needed to retrieve a product in shop API endpoint (`/new-api/shop/products/{id}`) has been changed
from `slug` to `code`.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<attribute name="method">GET</attribute>
<attribute name="path">/admin/products/{id}</attribute>
<attribute name="openapi_context">
<attribute name="summary">Use $code to retrieve a product resource.</attribute>
<attribute name="summary">Use code to retrieve a product resource.</attribute>
</attribute>
</itemOperation>

Expand Down

0 comments on commit 1c29fcf

Please sign in to comment.