开始结账 - Attribuly SS
Schema
typestring必需attributesobject必需子字段
timestring必需valuenumber必需value_currencystring必需unique_idstring必需propertiesobject必需子字段
Collectionsarray [string]必需Collections
子字段
string$currency_codestring必需Itemsarray [string]必需Product Name
子字段
stringItem Countinteger必需presentment_currencystring必需$valuenumber必需Discount Codesarray [string]必需子字段
stringTotal Discountsinteger必需$extraobject必需子字段
full_landing_sitestring必需referring_sitestring必需checkout_urlstring必需Checkout url
responsive_checkout_urlstring必需line_itemsarray [object]必需子字段
keystringpresentment_titlestringparent_relationshipstringcompare_at_pricenumberCompare price
line_price_setobjectLine Price
子字段
shop_moneyobject必需子字段
amountnumber必需presentment_moneyobject必需子字段
amountnumber必需gramsstringproduct_idstringProduct Id
line_pricenumberLine Price
variant_pricenumberVariant price
variant_idstringVariant id
vendorstringquantityintegerQuantity
pricenumberPrice
skustringSku
variant_titlestringVariant title
presentment_variant_titlestringtitlestringProduct title
productobject子字段
body_htmlstring必需tagsstring必需handlestring必需idstring必需titlestring必需product_typestring必需urlstring必需vendorstring必需imagesarray [object]必需子字段
srcstringvariantobject必需子字段
skustring必需titlestring必需imagesarray [object]必需子字段
srcstringidstring必需metricobject必需子字段
dataobject必需子字段
typestring必需attributesobject必需子字段
namestring必需servicestring必需profileobject必需子字段
dataobject必需子字段
typestring必需attributesobject必需子字段
emailstring必需phone_numberstring必需first_namestring必需last_namestring必需locationobject必需子字段
address1string必需address2string必需citystring必需countrystring必需regionstring必需zipstring必需结构示例
JSON
{
"type": "string",
"attributes": {
"time": "string",
"value": 0,
"value_currency": "string",
"unique_id": "string",
"properties": {
"Collections": [
"string"
],
"$currency_code": "string",
"Items": [
"string"
],
"Item Count": 0,
"presentment_currency": "string",
"$value": 0,
"Discount Codes": [
"string"
],
"Total Discounts": 0,
"$extra": {
"full_landing_site": "string",
"referring_site": "string",
"checkout_url": "string",
"responsive_checkout_url": "string",
"line_items": [
{
"key": "string",
"presentment_title": "string",
"parent_relationship": "string",
"compare_at_price": 0,
"line_price_set": {
"shop_money": {
"amount": 0
},
"presentment_money": {
"amount": 0
}
},
"grams": "string",
"product_id": "string",
"line_price": 0,
"variant_price": 0,
"variant_id": "string",
"vendor": "string",
"quantity": 0,
"price": 0,
"sku": "string",
"variant_title": "string",
"presentment_variant_title": "string",
"title": "string",
"product": {
"body_html": "string",
"tags": "string",
"handle": "string",
"id": "string",
"title": "string",
"product_type": "string",
"url": "string",
"vendor": "string",
"images": [
{
"src": "string"
}
],
"variant": {
"sku": "string",
"title": "string",
"images": [
{
"src": "string"
}
],
"id": "string"
}
}
}
]
}
},
"metric": {
"data": {
"type": "string",
"attributes": {
"name": "string",
"service": "string"
}
}
},
"profile": {
"data": {
"type": "string",
"attributes": {
"email": "string",
"phone_number": "string",
"first_name": "string",
"last_name": "string",
"location": {
"address1": "string",
"address2": "string",
"city": "string",
"country": "string",
"region": "string",
"zip": "string"
}
}
}
}
}
}