docs: generate API reference for 2.10.3 (#13548)

* docs: generate API reference for 2.10.3

* fix curl example
This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-09-19 11:40:52 +03:00
1 parent 0e45249b30
commit 2f990a14e6
68 files changed
+4955 -327

No files matched your search

@@ -103,6 +103,16 @@
* security:
* - cookie_auth: []
* - jwt_token: []
*
* requestBody:
* content:
* application/json:
* schema:
* type: object
* description: Optional additional data to pass to the underlying workflow.
* properties:
* additional_data:
* type: object
* description: Pass additional custom data to the API route. This data is passed to the underlying workflow under the `additional_data` parameter.
*
*/
@@ -39,7 +39,31 @@
* content:
* application/json:
* schema:
* $ref: "#/components/schemas/StoreAddCartLineItem"
* allOf:
* - type: object
* description: The details of the line item to add.
* required:
* - variant_id
* - quantity
* properties:
* variant_id:
* type: string
* title: variant_id
* description: The ID of the product variant to add as a line item.
* quantity:
* type: number
* title: quantity
* description: The item's quantity.
* metadata:
* type: object
* description: The item's metadata, can hold custom key-value pairs.
* - type: object
* description: The details of the line item to add.
* properties:
* additional_data:
* type: object
* description: Pass additional custom data to the API route. This data is passed to the underlying workflow under the `additional_data` parameter.
* description: The details of the line item to add.
* x-codeSamples:
* - lang: JavaScript
* label: JS SDK
@@ -45,7 +45,26 @@
* content:
* application/json:
* schema:
* $ref: "#/components/schemas/StoreUpdateCartLineItem"
* allOf:
* - type: object
* description: The details to update in the line item.
* required:
* - quantity
* properties:
* quantity:
* type: number
* title: quantity
* description: The item's quantity.
* metadata:
* type: object
* description: The item's metadata, can hold custom key-value pairs.
* - type: object
* description: The details to update in the line item.
* properties:
* additional_data:
* type: object
* description: Pass additional custom data to the API route. This data is passed to the underlying workflow under the `additional_data` parameter.
* description: The details to update in the line item.
* x-codeSamples:
* - lang: JavaScript
* label: JS SDK
@@ -39,7 +39,29 @@
* content:
* application/json:
* schema:
* $ref: "#/components/schemas/StoreAddCartShippingMethods"
* allOf:
* - type: object
* description: The shipping method's details.
* required:
* - option_id
* properties:
* option_id:
* type: string
* title: option_id
* description: The ID of the shipping option to create the shipping method from.
* data:
* type: object
* description: Any additional data relevant for the third-party fulfillment provider to process the shipment.
* externalDocs:
* url: https://docs.medusajs.com/resources/storefront-development/checkout/shipping#data-request-body-parameter
* description: Learn more about the data parameter.
* - type: object
* description: The shipping method's details.
* properties:
* additional_data:
* type: object
* description: Pass additional custom data to the API route. This data is passed to the underlying workflow under the `additional_data` parameter.
* description: The shipping method's details.
* x-codeSamples:
* - lang: JavaScript
* label: JS SDK