Commit c6a2849
chore(docs): Updated API Reference (automated) (#14808)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
---
> [!NOTE]
> **Medium Risk**
> Medium risk because it changes the published OpenAPI contract (adds `DELETE /admin/users/{id}/roles/{role_id}` and removes store credit endpoints), which can affect generated clients and documentation consumers.
>
> **Overview**
> **Regenerates the API Reference/OpenAPI outputs** across `www/apps/api-reference` and `www/utils/generated`.
>
> Adds the `DELETE /admin/users/{id}/roles/{role_id}` endpoint (with new path spec and cURL sample) and removes store credit routes from the specs (`POST /admin/store-credit-accounts/{id}/credit` and `POST /store/store-credit-accounts/claim`), along with related code-sample files.
>
> Updates schemas to make stock location address `metadata` required and removes `images` from the *required* lists of product variant schemas; also removes the `AdminTransactionGroup` schema and related sidebar entries. Fixes several generated code-sample formatting issues (e.g., stray markdown fences, ID placeholders in order-edit examples).
>
> <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 2e4ff86. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup>
Co-authored-by: Nicolas Gorga <62995075+NicolasGorga@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>1 parent fb7865f commit c6a2849
42 files changed
Lines changed: 201 additions & 690 deletions
File tree
- www
- apps/api-reference
- generated
- specs
- admin
- code_samples
- JavaScript
- admin_order-edits_{id}_items_item_{item_id}
- admin_order-edits_{id}_items_{action_id}
- admin_translations_batch
- Shell
- admin_store-credit-accounts_{id}_credit
- admin_users_{id}_roles_{role_id}
- components/schemas
- paths
- store
- code_samples/Shell/store_store-credit-accounts_claim
- components/schemas
- paths
- utils/generated
- oas-output
- operations
- admin
- store
- schemas
- route-examples-output
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 0 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
630 | | - | |
631 | 624 | | |
632 | 625 | | |
633 | 626 | | |
| |||
898 | 891 | | |
899 | 892 | | |
900 | 893 | | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | 894 | | |
920 | 895 | | |
921 | 896 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
| |||
53 | 56 | | |
54 | 57 | | |
55 | 58 | | |
| 59 | + | |
Lines changed: 0 additions & 40 deletions
This file was deleted.
0 commit comments