docs: add loyalty plugin routes to OAS (#12811)

* generated OAS

* remove unused schemas

* generated specs

* add cloud badge for routes

* add to loyalty plugin page

* allow clicking the tooltip
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-06-24 19:17:55 +03:00
1 parent 3826bde591
commit 93cf79cb0f
164 files changed
+16001 -88

No files matched your search

@@ -0,0 +1,24 @@
/**
* @schema AdminCreateStoreCreditAccount
* type: object
* description: The details of the store credit account to create.
* x-schemaName: AdminCreateStoreCreditAccount
* required:
* - currency_code
* - customer_id
* properties:
* currency_code:
* type: string
* title: currency_code
* description: The store credit account's currency code.
* example: usd
* customer_id:
* type: string
* title: customer_id
* description: The ID of the customer that the store credit account belongs to.
* metadata:
* type: object
* description: The store credit account's metadata, can hold custom key-value pairs.
*
*/