chore(docs): Generated API Reference (v2) (#8643)

Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-08-18 16:55:04 +02:00
committed by GitHub
parent fb0644b8f6
commit 46310e32d0
83 changed files with 5312 additions and 19940 deletions

View File

@@ -0,0 +1,8 @@
type: object
description: SUMMARY
x-schemaName: AdminPaymentCollectionResponse
required:
- payment_collection
properties:
payment_collection:
$ref: ./AdminPaymentCollection.yaml

View File

@@ -0,0 +1,60 @@
type: object
description: SUMMARY
x-schemaName: CreateCartWorkflowInput
properties:
region_id:
type: string
title: region_id
description: The cart's region id.
customer_id:
type: string
title: customer_id
description: The cart's customer id.
sales_channel_id:
type: string
title: sales_channel_id
description: The cart's sales channel id.
email:
type: string
title: email
description: The cart's email.
format: email
currency_code:
type: string
title: currency_code
description: The cart's currency code.
shipping_address_id:
type: string
title: shipping_address_id
description: The cart's shipping address id.
billing_address_id:
type: string
title: billing_address_id
description: The cart's billing address id.
shipping_address:
oneOf:
- type: string
title: shipping_address
description: The cart's shipping address.
- $ref: ./CreateCartAddress.yaml
billing_address:
oneOf:
- type: string
title: billing_address
description: The cart's billing address.
- $ref: ./CreateCartAddress.yaml
metadata:
type: object
description: The cart's metadata.
items:
type: array
description: The cart's items.
items:
$ref: ./CreateCartCreateLineItem.yaml
promo_codes:
type: array
description: The cart's promo codes.
items:
type: string
title: promo_codes
description: The promo code's promo codes.

View File

@@ -1,26 +0,0 @@
type: object
description: SUMMARY
x-schemaName: CreateUser
required:
- email
properties:
email:
type: string
title: email
description: The user's email.
format: email
first_name:
type: string
title: first_name
description: The user's first name.
last_name:
type: string
title: last_name
description: The user's last name.
avatar_url:
type: string
title: avatar_url
description: The user's avatar url.
metadata:
type: object
description: The user's metadata.

View File

@@ -0,0 +1,44 @@
type: object
description: SUMMARY
x-schemaName: UpdateCartData
properties:
region_id:
type: string
title: region_id
description: The cart's region id.
customer_id:
type: string
title: customer_id
description: The cart's customer id.
sales_channel_id:
type: string
title: sales_channel_id
description: The cart's sales channel id.
email:
type: string
title: email
description: The cart's email.
format: email
currency_code:
type: string
title: currency_code
description: The cart's currency code.
shipping_address_id:
type: string
title: shipping_address_id
description: The cart's shipping address id.
billing_address_id:
type: string
title: billing_address_id
description: The cart's billing address id.
billing_address:
oneOf:
- $ref: ./CreateAddress.yaml
- $ref: ./UpdateAddress.yaml
shipping_address:
oneOf:
- $ref: ./CreateAddress.yaml
- $ref: ./UpdateAddress.yaml
metadata:
type: object
description: The cart's metadata.