Skip to content

Commit d9249be

Browse files
authored
chore: fixes to refund reasons tsdocs (medusajs#13796)
1 parent c6e58e5 commit d9249be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/js-sdk/src/admin/refund-reasons.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class RefundReason {
101101
*
102102
* ```ts
103103
* sdk.admin.refundReason.retrieve("refr_123", {
104-
* fields: "id,value"
104+
* fields: "id,code"
105105
* })
106106
* .then(({ refund_reason }) => {
107107
* console.log(refund_reason)
@@ -138,7 +138,7 @@ export class RefundReason {
138138
*
139139
* @example
140140
* sdk.admin.refundReason.create({
141-
* value: "refund",
141+
* code: "refund",
142142
* label: "Refund",
143143
* })
144144
* .then(({ refund_reason }) => {
@@ -176,7 +176,7 @@ export class RefundReason {
176176
*
177177
* @example
178178
* sdk.admin.refundReason.update("ret_123", {
179-
* value: "refund",
179+
* code: "refund",
180180
* label: "Refund",
181181
* })
182182
* .then(({ refund_reason }) => {

0 commit comments

Comments
 (0)