Files
medusa-store/docs/api/store/components/schemas/StoreCompleteCartRes.yaml
2023-04-04 21:02:44 +03:00

33 lines
832 B
YAML

type: object
required:
- type
- data
properties:
type:
type: string
description: The type of the data property.
enum:
- order
- cart
- swap
data:
type: object
description: The data of the result object. Its type depends on the type field.
oneOf:
- type: object
allOf:
- description: >-
Cart was successfully authorized and order was placed
successfully.
- $ref: ./Order.yaml
- type: object
allOf:
- description: Cart was successfully authorized but requires further actions.
- $ref: ./Cart.yaml
- type: object
allOf:
- description: >-
When cart is used for a swap and it has been completed
successfully.
- $ref: ./Swap.yaml