Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
title: Product Collection Discount Condition
|
|
description: >-
|
|
This represents the association between a discount condition and a product
|
|
collection
|
|
type: object
|
|
required:
|
|
- condition_id
|
|
- created_at
|
|
- metadata
|
|
- product_collection_id
|
|
- updated_at
|
|
properties:
|
|
product_collection_id:
|
|
description: The ID of the Product Collection
|
|
type: string
|
|
example: pcol_01F0YESBFAZ0DV6V831JXWH0BG
|
|
condition_id:
|
|
description: The ID of the Discount Condition
|
|
type: string
|
|
example: discon_01G8X9A7ESKAJXG2H0E6F1MW7A
|
|
product_collection:
|
|
description: The details of the product collection.
|
|
x-expandable: product_collection
|
|
nullable: true
|
|
$ref: ./ProductCollection.yaml
|
|
discount_condition:
|
|
description: The details of the discount condition.
|
|
x-expandable: discount_condition
|
|
nullable: true
|
|
$ref: ./DiscountCondition.yaml
|
|
created_at:
|
|
description: The date with timezone at which the resource was created.
|
|
type: string
|
|
format: date-time
|
|
updated_at:
|
|
description: The date with timezone at which the resource was updated.
|
|
type: string
|
|
format: date-time
|
|
metadata:
|
|
description: An optional key-value map with additional details
|
|
nullable: true
|
|
type: object
|
|
example:
|
|
car: white
|
|
externalDocs:
|
|
description: Learn about the metadata attribute, and how to delete and update it.
|
|
url: >-
|
|
https://docs.medusajs.com/development/entities/overview#metadata-attribute
|