docs: fixes to API and JS SDK references (#13795)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-10-21 13:32:25 +03:00
1 parent 3d0f4086b4
commit c6e58e5144
15 files changed
+7188 -7423

No files matched your search

@@ -9,7 +9,7 @@ export const sdk = new Medusa({
})
sdk.admin.refundReason.create({
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {
@@ -9,7 +9,7 @@ export const sdk = new Medusa({
})
sdk.admin.refundReason.update("ret_123", {
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {
@@ -3,5 +3,6 @@ curl -X POST '{backend_url}/admin/refund-reasons' \
-H 'Content-Type: application/json' \
--data-raw '{
"label": "{value}",
"code": "{value}",
"description": "{value}"
}'