Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminFulfillment.yaml
github-actions[bot] 21badd069d chore(docs): Updated API Reference (v2) (#9437)
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>
2024-10-03 07:48:54 +00:00

95 lines
2.4 KiB
YAML

type: object
description: The fulfillment's details.
x-schemaName: AdminFulfillment
required:
- id
- location_id
- provider_id
- shipping_option_id
- provider
- delivery_address
- items
- labels
- packed_at
- shipped_at
- delivered_at
- canceled_at
- data
- metadata
- created_at
- updated_at
- deleted_at
properties:
id:
type: string
title: id
description: The fulfillment's ID.
location_id:
type: string
title: location_id
description: The ID of the location the fulfillment's items are shipped from.
provider_id:
type: string
title: provider_id
description: The ID of the fulfillment provider handling this fulfillment.
shipping_option_id:
type: string
title: shipping_option_id
description: The ID of the shipping option this fulfillment is created for.
provider:
$ref: ./AdminFulfillmentProvider.yaml
delivery_address:
$ref: ./AdminFulfillmentAddress.yaml
items:
type: array
description: The fulfillment's items.
items:
$ref: ./AdminFulfillmentItem.yaml
labels:
type: array
description: The fulfillment's shipment labels.
items:
$ref: ./AdminFulfillmentLabel.yaml
packed_at:
type: string
title: packed_at
description: The date the fulfillment was packed at.
shipped_at:
type: string
title: shipped_at
description: The date the fulfillment was shipped at.
delivered_at:
type: string
title: delivered_at
description: The date the fulfillment was delivered at.
canceled_at:
type: string
title: canceled_at
description: The date the fulfillment was canceled at.
data:
type: object
description: >-
The fulfillment's data, useful for the third-party provider handling the
fulfillment.
externalDocs:
url: >-
https://docs.medusajs.com/v2/resources/commerce-modules/fulfillment/shipping-option#data-property
metadata:
type: object
description: The fulfillment's metadata, can hold custom key-value pairs.
created_at:
type: string
format: date-time
title: created_at
description: The date the fulfillment was created at.
updated_at:
type: string
format: date-time
title: updated_at
description: The date the fulfillment was updated at.
deleted_at:
type: string
format: date-time
title: deleted_at
description: The date the fulfillment was deleted at.