Skip to content

Commit

Permalink
minor #12044 [API][Product] Add note in UPGRADE file about changing i…
Browse files Browse the repository at this point in the history
…dentifier for shop endpoint (GSadee)

This PR was merged into the 1.9-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | after #12034 
| License         | MIT


Commits
-------

1c29fcf [API][Product] Add note in UPGRADE file about changing identifier for shop endpoint
  • Loading branch information
Tomanhez authored Nov 13, 2020
2 parents da42a21 + 1c29fcf commit 9ad6e1f
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 9ad6e1f

Please sign in to comment.