π Payments
Payments Admin Starter Kit
LivestreamQR Payments Starter Kit includes Shopping Cart, E-Commerce, POS, and Admin Dashboard UI.
π Collection: sessions
LivestreamQR's API is a REST API. You can use any HTTP client to send requests to the API.
End-point: Create a Payment Session
Creates a Payment Session for a Payment Collection.
Method: POST
{{baseUrl}}/payment-collections/:id/sessions
Headers
Content-Type | Value |
---|---|
Content-Type | application/json |
π Collection: authorize
End-point: Authorize PaymentSessions
Authorizes Payment Sessions of a Payment Collection.
Method: POST
{{baseUrl}}/payment-collections/:id/sessions/batch/authorize
Headers
Content-Type | Value |
---|---|
Content-Type | application/json |
Body (raw)
{
"session_ids": [
"<string>",
"<string>"
]
}
π Authentication apikey
Param | value | Type |
---|
Response: 200
{
"payment_collection": {
"amount": "<integer>",
"authorized_amount": "<integer>",
"created_at": "<dateTime>",
"created_by": "<string>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"description": "<string>",
"id": "<string>",
"metadata": {},
"region_id": "<string>",
"status": "authorized",
"type": "order_edit",
"updated_at": "<dateTime>",
"region": {
"automatic_taxes": true,
"created_at": "<dateTime>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"gift_cards_taxable": true,
"id": "<string>",
"metadata": {},
"name": "<string>",
"tax_code": "<string>",
"tax_provider_id": "<string>",
"tax_rate": "<number>",
"updated_at": "<dateTime>",
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"tax_rates": [
{
"code": "<string>",
"created_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"rate": "<number>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
},
"products": [
{
"collection_id": "<string>",
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"discountable": true,
"external_id": "<string>",
"handle": "<string>",
"height": "<number>",
"hs_code": "<string>",
"id": "<string>",
"is_giftcard": false,
"length": "<number>",
"material": "<string>",
"metadata": {},
"mid_code": "<string>",
"origin_country": "<string>",
"profile_id": "<string>",
"status": "draft",
"subtitle": "<string>",
"type_id": "<string>",
"thumbnail": "<uri>",
"title": "<string>",
"updated_at": "<dateTime>",
"weight": "<number>",
"width": "<number>",
"images": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"url": "<uri>"
}
],
"options": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"product_id": "<string>",
"title": "<string>",
"updated_at": "<dateTime>",
"values": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"option_id": "<string>",
"updated_at": "<dateTime>",
"value": "<string>",
"variant_id": "<string>",
"option": {
"value": "<Circular reference to #/components/schemas/ProductOption detected>"
},
"variant": {
"allow_backorder": false,
"barcode": "<string>",
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"ean": "<string>",
"height": "<number>",
"hs_code": "<string>",
"id": "<string>",
"inventory_quantity": "<integer>",
"length": "<number>",
"manage_inventory": true,
"material": "<string>",
"metadata": {},
"mid_code": "<string>",
"origin_country": "<string>",
"product_id": "<string>",
"sku": "<string>",
"title": "<string>",
"upc": "<string>",
"updated_at": "<dateTime>",
"weight": "<number>",
"width": "<number>",
"product": {
"value": "<Circular reference to #/components/schemas/Product detected>"
},
"prices": [
{
"amount": "<integer>",
"created_at": "<dateTime>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"id": "<string>",
"max_quantity": "<integer>",
"min_quantity": "<integer>",
"price_list_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"variant_id": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"price_list": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"ends_at": "<dateTime>",
"id": "<string>",
"name": "<string>",
"starts_at": "<dateTime>",
"status": "draft",
"type": "sale",
"updated_at": "<dateTime>",
"customer_groups": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"prices": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"includes_tax": false
},
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
},
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
}
}
],
"variant_rank": 0,
"options": [
{
"value": "<Circular reference to #/components/schemas/ProductOptionValue detected>"
}
],
"inventory_items": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"inventory_item_id": "<string>",
"required_quantity": 1,
"updated_at": "<dateTime>",
"variant_id": "<string>",
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
}
}
]
}
}
],
"product": {
"value": "<Circular reference to #/components/schemas/Product detected>"
}
}
],
"variants": [
{
"allow_backorder": false,
"barcode": "<string>",
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"ean": "<string>",
"height": "<number>",
"hs_code": "<string>",
"id": "<string>",
"inventory_quantity": "<integer>",
"length": "<number>",
"manage_inventory": true,
"material": "<string>",
"metadata": {},
"mid_code": "<string>",
"origin_country": "<string>",
"product_id": "<string>",
"sku": "<string>",
"title": "<string>",
"upc": "<string>",
"updated_at": "<dateTime>",
"weight": "<number>",
"width": "<number>",
"product": {
"value": "<Circular reference to #/components/schemas/Product detected>"
},
"prices": [
{
"amount": "<integer>",
"created_at": "<dateTime>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"id": "<string>",
"max_quantity": "<integer>",
"min_quantity": "<integer>",
"price_list_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"variant_id": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"price_list": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"ends_at": "<dateTime>",
"id": "<string>",
"name": "<string>",
"starts_at": "<dateTime>",
"status": "draft",
"type": "sale",
"updated_at": "<dateTime>",
"customer_groups": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"prices": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"includes_tax": false
},
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
},
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
}
}
],
"variant_rank": 0,
"options": [
{
"value": "<Circular reference to #/components/schemas/ProductOptionValue detected>"
}
],
"inventory_items": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"inventory_item_id": "<string>",
"required_quantity": 1,
"updated_at": "<dateTime>",
"variant_id": "<string>",
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
}
}
]
}
],
"categories": [
{
"category_children": [
{
"value": "<Circular reference to #/components/schemas/ProductCategory detected>"
}
],
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"handle": "<string>",
"id": "<string>",
"is_active": false,
"is_internal": false,
"mpath": "<string>",
"name": "<string>",
"parent_category_id": null,
"updated_at": "<dateTime>",
"parent_category": {
"value": "<Circular reference to #/components/schemas/ProductCategory detected>"
},
"products": [
{
"value": "<Circular reference to #/components/schemas/Product detected>"
}
]
}
],
"profile": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"type": "gift_card",
"updated_at": "<dateTime>",
"products": [
{
"value": "<Circular reference to #/components/schemas/Product detected>"
}
],
"shipping_options": [
{
"admin_only": false,
"amount": "<integer>",
"created_at": "<dateTime>",
"data": {},
"deleted_at": "<dateTime>",
"id": "<string>",
"is_return": false,
"metadata": {},
"name": "<string>",
"price_type": "flat_rate",
"profile_id": "<string>",
"provider_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
},
"profile": {
"value": "<Circular reference to #/components/schemas/ShippingProfile detected>"
},
"provider": {
"id": "<string>",
"is_installed": true
},
"requirements": [
{
"amount": "<integer>",
"deleted_at": "<dateTime>",
"id": "<string>",
"shipping_option_id": "<string>",
"type": "max_subtotal",
"shipping_option": {
"value": "<Circular reference to #/components/schemas/ShippingOption detected>"
}
}
],
"includes_tax": false
}
]
},
"collection": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"handle": "<string>",
"id": "<string>",
"metadata": {},
"title": "<string>",
"updated_at": "<dateTime>",
"products": [
{
"value": "<Circular reference to #/components/schemas/Product detected>"
}
]
},
"type": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"value": "<string>"
},
"tags": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"value": "<string>"
}
],
"sales_channels": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"id": "<string>",
"is_disabled": false,
"name": "<string>",
"updated_at": "<dateTime>",
"locations": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"location_id": "<string>",
"sales_channel_id": "<string>",
"updated_at": "<dateTime>",
"sales_channel": {
"value": "<Circular reference to #/components/schemas/SalesChannel detected>"
}
}
]
}
]
}
],
"product_types": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"value": "<string>"
}
],
"shipping_options": [
{
"admin_only": false,
"amount": "<integer>",
"created_at": "<dateTime>",
"data": {},
"deleted_at": "<dateTime>",
"id": "<string>",
"is_return": false,
"metadata": {},
"name": "<string>",
"price_type": "calculated",
"profile_id": "<string>",
"provider_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
},
"profile": {
"value": "<Circular reference to #/components/schemas/ShippingProfile detected>"
},
"provider": {
"id": "<string>",
"is_installed": true
},
"requirements": [
{
"amount": "<integer>",
"deleted_at": "<dateTime>",
"id": "<string>",
"shipping_option_id": "<string>",
"type": "min_subtotal",
"shipping_option": {
"value": "<Circular reference to #/components/schemas/ShippingOption detected>"
}
}
],
"includes_tax": false
}
],
"product_count": "<integer>",
"product_type_count": "<integer>",
"shipping_option_count": "<integer>"
}
],
"countries": [
{
"value": "<Circular reference to #/components/schemas/Country detected>"
}
],
"tax_provider": {
"id": "<string>",
"is_installed": true
},
"payment_providers": [
{
"id": "<string>",
"is_installed": true
}
],
"fulfillment_providers": [
{
"id": "<string>",
"is_installed": true
}
],
"includes_tax": false
},
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"payment_sessions": [
{
"amount": "<integer>",
"cart_id": "<string>",
"created_at": "<dateTime>",
"data": {},
"id": "<string>",
"is_initiated": false,
"is_selected": "<boolean>",
"idempotency_key": "<string>",
"payment_authorized_at": "<dateTime>",
"provider_id": "<string>",
"status": "authorized",
"updated_at": "<dateTime>",
"cart": {
"value": "<Circular reference to #/components/schemas/Cart detected>"
}
}
],
"payments": [
{
"amount": "<integer>",
"amount_refunded": 0,
"canceled_at": "<dateTime>",
"captured_at": "<dateTime>",
"cart_id": "<string>",
"created_at": "<dateTime>",
"currency_code": "<string>",
"data": {},
"id": "<string>",
"idempotency_key": "<string>",
"metadata": {},
"order_id": "<string>",
"provider_id": "<string>",
"swap_id": "<string>",
"updated_at": "<dateTime>",
"swap": {
"value": "<Circular reference to #/components/schemas/Swap detected>"
},
"cart": {
"value": "<Circular reference to #/components/schemas/Cart detected>"
},
"order": {
"value": "<Circular reference to #/components/schemas/Order detected>"
},
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
}
}
]
}
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
π Collection: authorize
End-point: Authorize Payment Session
Authorizes a Payment Session of a Payment Collection.
Method: POST
{{baseUrl}}/payment-collections/:id/sessions/:session_id/authorize
Headers
Content-Type | Value |
---|---|
Accept | application/json |
π Authentication apikey
Param | value | Type |
---|
Response: 200
{
"payment_session": {
"amount": "<integer>",
"cart_id": "<string>",
"created_at": "<dateTime>",
"data": {},
"id": "<string>",
"is_initiated": false,
"is_selected": "<boolean>",
"idempotency_key": "<string>",
"payment_authorized_at": "<dateTime>",
"provider_id": "<string>",
"status": "error",
"updated_at": "<dateTime>",
"cart": {
"value": "<Circular reference to #/components/schemas/Cart detected>"
}
}
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
End-point: Refresh a Payment Session
Refreshes a Payment Session to ensure that it is in sync with the Payment Collection.
Method: POST
{{baseUrl}}/payment-collections/:id/sessions/:session_id
Headers
Content-Type | Value |
---|---|
Accept | application/json |
Response: 200
{
"payment_session": {
"amount": "<integer>",
"cart_id": "<string>",
"created_at": "<dateTime>",
"data": {},
"id": "<string>",
"is_initiated": false,
"is_selected": "<boolean>",
"idempotency_key": "<string>",
"payment_authorized_at": "<dateTime>",
"provider_id": "<string>",
"status": "error",
"updated_at": "<dateTime>",
"cart": {
"value": "<Circular reference to #/components/schemas/Cart detected>"
}
}
}
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
End-point: Manage a Payment Session
Manages Payment Sessions from Payment Collections.
Method: POST
{{baseUrl}}/payment-collections/:id/sessions
Headers
Content-Type | Value |
---|---|
Content-Type | application/json |
Headers
Content-Type | Value |
---|---|
Accept | application/json |
Body (raw)
{
"provider_id": "<string>"
}
π Authentication apikey
Param | value | Type |
---|
Response: 200
{
"payment_collection": {
"amount": "<integer>",
"authorized_amount": "<integer>",
"created_at": "<dateTime>",
"created_by": "<string>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"description": "<string>",
"id": "<string>",
"metadata": {},
"region_id": "<string>",
"status": "authorized",
"type": "order_edit",
"updated_at": "<dateTime>",
"region": {
"automatic_taxes": true,
"created_at": "<dateTime>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"gift_cards_taxable": true,
"id": "<string>",
"metadata": {},
"name": "<string>",
"tax_code": "<string>",
"tax_provider_id": "<string>",
"tax_rate": "<number>",
"updated_at": "<dateTime>",
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"tax_rates": [
{
"code": "<string>",
"created_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"rate": "<number>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
},
"products": [
{
"collection_id": "<string>",
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"discountable": true,
"external_id": "<string>",
"handle": "<string>",
"height": "<number>",
"hs_code": "<string>",
"id": "<string>",
"is_giftcard": false,
"length": "<number>",
"material": "<string>",
"metadata": {},
"mid_code": "<string>",
"origin_country": "<string>",
"profile_id": "<string>",
"status": "draft",
"subtitle": "<string>",
"type_id": "<string>",
"thumbnail": "<uri>",
"title": "<string>",
"updated_at": "<dateTime>",
"weight": "<number>",
"width": "<number>",
"images": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"url": "<uri>"
}
],
"options": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"product_id": "<string>",
"title": "<string>",
"updated_at": "<dateTime>",
"values": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"option_id": "<string>",
"updated_at": "<dateTime>",
"value": "<string>",
"variant_id": "<string>",
"option": {
"value": "<Circular reference to #/components/schemas/ProductOption detected>"
},
"variant": {
"allow_backorder": false,
"barcode": "<string>",
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"ean": "<string>",
"height": "<number>",
"hs_code": "<string>",
"id": "<string>",
"inventory_quantity": "<integer>",
"length": "<number>",
"manage_inventory": true,
"material": "<string>",
"metadata": {},
"mid_code": "<string>",
"origin_country": "<string>",
"product_id": "<string>",
"sku": "<string>",
"title": "<string>",
"upc": "<string>",
"updated_at": "<dateTime>",
"weight": "<number>",
"width": "<number>",
"product": {
"value": "<Circular reference to #/components/schemas/Product detected>"
},
"prices": [
{
"amount": "<integer>",
"created_at": "<dateTime>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"id": "<string>",
"max_quantity": "<integer>",
"min_quantity": "<integer>",
"price_list_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"variant_id": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"price_list": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"ends_at": "<dateTime>",
"id": "<string>",
"name": "<string>",
"starts_at": "<dateTime>",
"status": "draft",
"type": "sale",
"updated_at": "<dateTime>",
"customer_groups": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"prices": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"includes_tax": false
},
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
},
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
}
}
],
"variant_rank": 0,
"options": [
{
"value": "<Circular reference to #/components/schemas/ProductOptionValue detected>"
}
],
"inventory_items": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"inventory_item_id": "<string>",
"required_quantity": 1,
"updated_at": "<dateTime>",
"variant_id": "<string>",
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
}
}
]
}
}
],
"product": {
"value": "<Circular reference to #/components/schemas/Product detected>"
}
}
],
"variants": [
{
"allow_backorder": false,
"barcode": "<string>",
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"ean": "<string>",
"height": "<number>",
"hs_code": "<string>",
"id": "<string>",
"inventory_quantity": "<integer>",
"length": "<number>",
"manage_inventory": true,
"material": "<string>",
"metadata": {},
"mid_code": "<string>",
"origin_country": "<string>",
"product_id": "<string>",
"sku": "<string>",
"title": "<string>",
"upc": "<string>",
"updated_at": "<dateTime>",
"weight": "<number>",
"width": "<number>",
"product": {
"value": "<Circular reference to #/components/schemas/Product detected>"
},
"prices": [
{
"amount": "<integer>",
"created_at": "<dateTime>",
"currency_code": "<string>",
"deleted_at": "<dateTime>",
"id": "<string>",
"max_quantity": "<integer>",
"min_quantity": "<integer>",
"price_list_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"variant_id": "<string>",
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"price_list": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"ends_at": "<dateTime>",
"id": "<string>",
"name": "<string>",
"starts_at": "<dateTime>",
"status": "draft",
"type": "sale",
"updated_at": "<dateTime>",
"customer_groups": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"prices": [
{
"value": "<Error: Too many levels of nesting to fake this schema>"
}
],
"includes_tax": false
},
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
},
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
}
}
],
"variant_rank": 0,
"options": [
{
"value": "<Circular reference to #/components/schemas/ProductOptionValue detected>"
}
],
"inventory_items": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"inventory_item_id": "<string>",
"required_quantity": 1,
"updated_at": "<dateTime>",
"variant_id": "<string>",
"variant": {
"value": "<Circular reference to #/components/schemas/ProductVariant detected>"
}
}
]
}
],
"categories": [
{
"category_children": [
{
"value": "<Circular reference to #/components/schemas/ProductCategory detected>"
}
],
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"handle": "<string>",
"id": "<string>",
"is_active": false,
"is_internal": false,
"mpath": "<string>",
"name": "<string>",
"parent_category_id": null,
"updated_at": "<dateTime>",
"parent_category": {
"value": "<Circular reference to #/components/schemas/ProductCategory detected>"
},
"products": [
{
"value": "<Circular reference to #/components/schemas/Product detected>"
}
]
}
],
"profile": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"name": "<string>",
"type": "gift_card",
"updated_at": "<dateTime>",
"products": [
{
"value": "<Circular reference to #/components/schemas/Product detected>"
}
],
"shipping_options": [
{
"admin_only": false,
"amount": "<integer>",
"created_at": "<dateTime>",
"data": {},
"deleted_at": "<dateTime>",
"id": "<string>",
"is_return": false,
"metadata": {},
"name": "<string>",
"price_type": "flat_rate",
"profile_id": "<string>",
"provider_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
},
"profile": {
"value": "<Circular reference to #/components/schemas/ShippingProfile detected>"
},
"provider": {
"id": "<string>",
"is_installed": true
},
"requirements": [
{
"amount": "<integer>",
"deleted_at": "<dateTime>",
"id": "<string>",
"shipping_option_id": "<string>",
"type": "max_subtotal",
"shipping_option": {
"value": "<Circular reference to #/components/schemas/ShippingOption detected>"
}
}
],
"includes_tax": false
}
]
},
"collection": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"handle": "<string>",
"id": "<string>",
"metadata": {},
"title": "<string>",
"updated_at": "<dateTime>",
"products": [
{
"value": "<Circular reference to #/components/schemas/Product detected>"
}
]
},
"type": {
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"value": "<string>"
},
"tags": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"value": "<string>"
}
],
"sales_channels": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"description": "<string>",
"id": "<string>",
"is_disabled": false,
"name": "<string>",
"updated_at": "<dateTime>",
"locations": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"location_id": "<string>",
"sales_channel_id": "<string>",
"updated_at": "<dateTime>",
"sales_channel": {
"value": "<Circular reference to #/components/schemas/SalesChannel detected>"
}
}
]
}
]
}
],
"product_types": [
{
"created_at": "<dateTime>",
"deleted_at": "<dateTime>",
"id": "<string>",
"metadata": {},
"updated_at": "<dateTime>",
"value": "<string>"
}
],
"shipping_options": [
{
"admin_only": false,
"amount": "<integer>",
"created_at": "<dateTime>",
"data": {},
"deleted_at": "<dateTime>",
"id": "<string>",
"is_return": false,
"metadata": {},
"name": "<string>",
"price_type": "calculated",
"profile_id": "<string>",
"provider_id": "<string>",
"region_id": "<string>",
"updated_at": "<dateTime>",
"region": {
"value": "<Circular reference to #/components/schemas/Region detected>"
},
"profile": {
"value": "<Circular reference to #/components/schemas/ShippingProfile detected>"
},
"provider": {
"id": "<string>",
"is_installed": true
},
"requirements": [
{
"amount": "<integer>",
"deleted_at": "<dateTime>",
"id": "<string>",
"shipping_option_id": "<string>",
"type": "min_subtotal",
"shipping_option": {
"value": "<Circular reference to #/components/schemas/ShippingOption detected>"
}
}
],
"includes_tax": false
}
],
"product_count": "<integer>",
"product_type_count": "<integer>",
"shipping_option_count": "<integer>"
}
],
"countries": [
{
"value": "<Circular reference to #/components/schemas/Country detected>"
}
],
"tax_provider": {
"id": "<string>",
"is_installed": true
},
"payment_providers": [
{
"id": "<string>",
"is_installed": true
}
],
"fulfillment_providers": [
{
"id": "<string>",
"is_installed": true
}
],
"includes_tax": false
},
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
},
"payment_sessions": [
{
"amount": "<integer>",
"cart_id": "<string>",
"created_at": "<dateTime>",
"data": {},
"id": "<string>",
"is_initiated": false,
"is_selected": "<boolean>",
"idempotency_key": "<string>",
"payment_authorized_at": "<dateTime>",
"provider_id": "<string>",
"status": "authorized",
"updated_at": "<dateTime>",
"cart": {
"value": "<Circular reference to #/components/schemas/Cart detected>"
}
}
],
"payments": [
{
"amount": "<integer>",
"amount_refunded": 0,
"canceled_at": "<dateTime>",
"captured_at": "<dateTime>",
"cart_id": "<string>",
"created_at": "<dateTime>",
"currency_code": "<string>",
"data": {},
"id": "<string>",
"idempotency_key": "<string>",
"metadata": {},
"order_id": "<string>",
"provider_id": "<string>",
"swap_id": "<string>",
"updated_at": "<dateTime>",
"swap": {
"value": "<Circular reference to #/components/schemas/Swap detected>"
},
"cart": {
"value": "<Circular reference to #/components/schemas/Cart detected>"
},
"order": {
"value": "<Circular reference to #/components/schemas/Order detected>"
},
"currency": {
"code": "<string>",
"name": "<string>",
"symbol": "<string>",
"symbol_native": "<string>",
"includes_tax": false
}
}
]
}
}