1 type: object
2 description: The details of the shipping method to add to a draft order.
3 x-schemaName: AdminAddDraftOrderShippingMethod
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 shipping option that this method is created from.
11 custom_amount:
12 type: number
13 title: custom_amount
14 description: >-
15 A custom amount to be charged for this shipping method. If not provided,
16 the shipping 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