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

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

View File

@@ -9,7 +9,7 @@ export const sdk = new Medusa({
})
sdk.admin.refundReason.create({
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {

View File

@@ -9,7 +9,7 @@ export const sdk = new Medusa({
})
sdk.admin.refundReason.update("ret_123", {
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {

View File

@@ -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}"
}'