Files
medusa-store/www/apps/api-reference/specs/admin/components/schemas/AdminShippingOptionRule.yaml
github-actions[bot] 3e81962503 chore(docs): Updated API Reference (automated) (#11167)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2025-01-27 11:45:04 +00:00

57 lines
1.2 KiB
YAML

type: object
description: The shipping option rule's details.
x-schemaName: AdminShippingOptionRule
required:
- id
- attribute
- operator
- value
- shipping_option_id
- created_at
- updated_at
- deleted_at
properties:
id:
type: string
title: id
description: The shipping option rule's ID.
attribute:
type: string
title: attribute
description: The shipping option rule's attribute.
example: is_return
operator:
type: string
description: The rule's operator.
enum:
- gt
- lt
- eq
- ne
- in
- lte
- gte
- nin
value:
type: string
title: value
shipping_option_id:
type: string
title: shipping_option_id
description: The ID of the shipping option this rule is for.
created_at:
type: string
format: date-time
title: created_at
description: The date the shipping option rule was created.
updated_at:
type: string
format: date-time
title: updated_at
description: The date the shipping option rule was updated.
deleted_at:
type: string
format: date-time
title: deleted_at
description: The date the shipping option rule was deleted.