Files
medusa-store/www/apps/docs/content/references/js-client/classes/internal-8.internal.AdminPostOrdersOrderShippingMethodsReq.md
github-actions[bot] daea35fe73 chore(docs): Generated JS Client Reference (#5334)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2023-10-10 17:47:07 +00:00

1.2 KiB

displayed_sidebar
displayed_sidebar
jsClientSidebar

Class: AdminPostOrdersOrderShippingMethodsReq

internal.internal.AdminPostOrdersOrderShippingMethodsReq

Schema

AdminPostOrdersOrderShippingMethodsReq type: object required:

  • price
  • option_id properties: price: type: number description: The price (excluding VAT) that should be charged for the Shipping Method option_id: type: string description: The ID of the Shipping Option to create the Shipping Method from. date: type: object description: The data required for the Shipping Option to create a Shipping Method. This depends on the Fulfillment Provider.

Properties

data

Optional data: Record<string, unknown>

Defined in

packages/medusa/dist/api/routes/admin/orders/add-shipping-method.d.ts:92


option_id

option_id: string

Defined in

packages/medusa/dist/api/routes/admin/orders/add-shipping-method.d.ts:91


price

price: number

Defined in

packages/medusa/dist/api/routes/admin/orders/add-shipping-method.d.ts:90