docs: generate OAS for 2.11.2 (#13925)
This commit is contained in:
1 parent
13d7d15be5
commit
604ff55a5b
403 files changed
+17473
-5392
No files matched your search
@@ -4,14 +4,12 @@
|
||||
* description: The filfillment's details.
|
||||
* x-schemaName: AdminCreateFulfillment
|
||||
* required:
|
||||
* - items
|
||||
* - metadata
|
||||
* - order_id
|
||||
* - data
|
||||
* - location_id
|
||||
* - provider_id
|
||||
* - delivery_address
|
||||
* - items
|
||||
* - labels
|
||||
* - order_id
|
||||
* properties:
|
||||
* location_id:
|
||||
* type: string
|
||||
@@ -22,118 +20,17 @@
|
||||
* title: provider_id
|
||||
* description: The ID of the provider handling this fulfillment.
|
||||
* delivery_address:
|
||||
* type: object
|
||||
* description: The address to deliver the items to.
|
||||
* properties:
|
||||
* first_name:
|
||||
* type: string
|
||||
* title: first_name
|
||||
* description: The customer's first name.
|
||||
* last_name:
|
||||
* type: string
|
||||
* title: last_name
|
||||
* description: The customer's last name.
|
||||
* phone:
|
||||
* type: string
|
||||
* title: phone
|
||||
* description: The customer's phone.
|
||||
* company:
|
||||
* type: string
|
||||
* title: company
|
||||
* description: The delivery address's company.
|
||||
* address_1:
|
||||
* type: string
|
||||
* title: address_1
|
||||
* description: The delivery address's first line.
|
||||
* address_2:
|
||||
* type: string
|
||||
* title: address_2
|
||||
* description: The delivery address's second line.
|
||||
* city:
|
||||
* type: string
|
||||
* title: city
|
||||
* description: The delivery address's city.
|
||||
* country_code:
|
||||
* type: string
|
||||
* title: country_code
|
||||
* description: The delivery address's country code.
|
||||
* province:
|
||||
* type: string
|
||||
* title: province
|
||||
* description: The delivery address's ISO 3166-2 province code. Must be lower-case.
|
||||
* example: us-ca
|
||||
* externalDocs:
|
||||
* url: https://en.wikipedia.org/wiki/ISO_3166-2
|
||||
* description: Learn more about ISO 3166-2
|
||||
* postal_code:
|
||||
* type: string
|
||||
* title: postal_code
|
||||
* description: The delivery address's postal code.
|
||||
* metadata:
|
||||
* type: object
|
||||
* description: The delivery address's metadata, used to store custom key-value pairs.
|
||||
* externalDocs:
|
||||
* url: https://docs.medusajs.com/api/admin#manage-metadata
|
||||
* description: Learn how to manage metadata
|
||||
* $ref: "#/components/schemas/AdminFulfillmentDeliveryAddress"
|
||||
* items:
|
||||
* type: array
|
||||
* description: The items to fulfill.
|
||||
* items:
|
||||
* type: object
|
||||
* description: An item to fulfill.
|
||||
* required:
|
||||
* - title
|
||||
* - quantity
|
||||
* - sku
|
||||
* - barcode
|
||||
* properties:
|
||||
* title:
|
||||
* type: string
|
||||
* title: title
|
||||
* description: The item's title.
|
||||
* sku:
|
||||
* type: string
|
||||
* title: sku
|
||||
* description: The item's SKU.
|
||||
* quantity:
|
||||
* type: number
|
||||
* title: quantity
|
||||
* description: The quantity to fulfill of the item.
|
||||
* barcode:
|
||||
* type: string
|
||||
* title: barcode
|
||||
* description: The item's barcode.
|
||||
* line_item_id:
|
||||
* type: string
|
||||
* title: line_item_id
|
||||
* description: The ID of the associated line item.
|
||||
* inventory_item_id:
|
||||
* type: string
|
||||
* title: inventory_item_id
|
||||
* description: The ID of the inventory item associated with the underlying variant.
|
||||
* $ref: "#/components/schemas/AdminCreateFulfillmentItem"
|
||||
* labels:
|
||||
* type: array
|
||||
* description: The labels for the fulfillment's shipments.
|
||||
* items:
|
||||
* type: object
|
||||
* description: A shipment's label.
|
||||
* required:
|
||||
* - tracking_number
|
||||
* - tracking_url
|
||||
* - label_url
|
||||
* properties:
|
||||
* tracking_number:
|
||||
* type: string
|
||||
* title: tracking_number
|
||||
* description: The label's tracking number.
|
||||
* tracking_url:
|
||||
* type: string
|
||||
* title: tracking_url
|
||||
* description: The label's tracking URL.
|
||||
* label_url:
|
||||
* type: string
|
||||
* title: label_url
|
||||
* description: The label's URL.
|
||||
* $ref: "#/components/schemas/AdminCreateFulfillmentLabel"
|
||||
* order_id:
|
||||
* type: string
|
||||
* title: order_id
|
||||
|
||||
Reference in new issue
Block a user