Raw
1 type: object
2 description: The updates to make on a changed shipping method.
3 x-schemaName: AdminUpdateDraftOrderActionShippingMethod
4 required:
5 - shipping_option_id
6 properties:
7 shipping_option_id:
8 type: string
9 title: shipping_option_id
10 description: The ID of the associated shipping option.
11 custom_amount:
12 type: number
13 title: custom_amount
14 description: >-
15 The custom amount of the shipping method. If not provided, the shipping
16 option's amount will be used.
17 description:
18 type: string
19 title: description
20 description: The shipping method's description.
21 internal_note:
22 type: string
23 title: internal_note
24 description: A note viewed only by admin users about the shipping method.
25 metadata:
26 type: object
27 description: The shipping method's metadata, can hold custom key-value pairs.
28 externalDocs:
29 url: https://docs.medusajs.com/api/admin#manage-metadata
30 description: Learn how to manage metadata