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

@@ -95,7 +95,7 @@ To specify the fields and relations to retrieve:
```ts
sdk.admin.refundReason.retrieve("refr_123", {
fields: "id,value"
fields: "id,code"
})
.then(({ refund_reason }) => {
console.log(refund_reason)
@@ -130,7 +130,7 @@ This is available starting from [Medusa v2.11.0](https://github.com/medusajs/med
```ts
sdk.admin.refundReason.create({
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {
@@ -164,7 +164,7 @@ This is available starting from [Medusa v2.11.0](https://github.com/medusajs/med
```ts
sdk.admin.refundReason.update("ret_123", {
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {
@@ -16,7 +16,7 @@ This is available starting from [Medusa v2.11.0](https://github.com/medusajs/med
```ts
sdk.admin.refundReason.create({
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {
@@ -27,7 +27,7 @@ To specify the fields and relations to retrieve:
```ts
sdk.admin.refundReason.retrieve("refr_123", {
fields: "id,value"
fields: "id,code"
})
.then(({ refund_reason }) => {
console.log(refund_reason)
@@ -16,7 +16,7 @@ This is available starting from [Medusa v2.11.0](https://github.com/medusajs/med
```ts
sdk.admin.refundReason.update("ret_123", {
value: "refund",
code: "refund",
label: "Refund",
})
.then(({ refund_reason }) => {