chore(docs): Updated API Reference (v2) (#8609)

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>
This commit is contained in:
github-actions[bot]andShahed Nasser authored and GitHub committed 2024-08-15 14:31:35 +00:00
1 parent 4bd0917aed
commit b23ddcdde8
1211 files changed
+92070 -5062

No files matched your search

@@ -0,0 +1,63 @@
/**
* @schema BaseApplicationMethod
* type: object
* description: The promotion's application method.
* x-schemaName: BaseApplicationMethod
* required:
* - id
* properties:
* id:
* type: string
* title: id
* description: The application method's ID.
* type:
* type: string
* enum:
* - fixed
* - percentage
* target_type:
* type: string
* enum:
* - items
* - shipping_methods
* - order
* allocation:
* type: string
* enum:
* - each
* - across
* value:
* type: number
* title: value
* description: The application method's value.
* currency_code:
* type: string
* title: currency_code
* description: The application method's currency code.
* max_quantity:
* type: number
* title: max_quantity
* description: The application method's max quantity.
* buy_rules_min_quantity:
* type: number
* title: buy_rules_min_quantity
* description: The application method's buy rules min quantity.
* apply_to_quantity:
* type: number
* title: apply_to_quantity
* description: The application method's apply to quantity.
* promotion:
* $ref: "#/components/schemas/BasePromotion"
* target_rules:
* type: array
* description: The application method's target rules.
* items:
* $ref: "#/components/schemas/BasePromotionRule"
* buy_rules:
* type: array
* description: The application method's buy rules.
* items:
* $ref: "#/components/schemas/BasePromotionRule"
*
*/