Skip to main content
原始 Markdown

开始结账 - Attribuly SS

Schema

typestring必需
attributesobject必需
子字段
timestring必需
valuenumber必需
value_currencystring必需
unique_idstring必需
propertiesobject必需
子字段
Collectionsarray [string]必需

Collections

子字段
string
$currency_codestring必需
Itemsarray [string]必需

Product Name

子字段
string
Item Countinteger必需
presentment_currencystring必需
$valuenumber必需
Discount Codesarray [string]必需
子字段
string
Total Discountsinteger必需
$extraobject必需
子字段
full_landing_sitestring必需
referring_sitestring必需
checkout_urlstring必需

Checkout url

responsive_checkout_urlstring必需
line_itemsarray [object]必需
子字段
keystring
presentment_titlestring
parent_relationshipstring
compare_at_pricenumber

Compare price

line_price_setobject

Line Price

子字段
shop_moneyobject必需
子字段
amountnumber必需
presentment_moneyobject必需
子字段
amountnumber必需
gramsstring
product_idstring

Product Id

line_pricenumber

Line Price

variant_pricenumber

Variant price

variant_idstring

Variant id

vendorstring
quantityinteger

Quantity

pricenumber

Price

skustring

Sku

variant_titlestring

Variant title

presentment_variant_titlestring
titlestring

Product title

productobject
子字段
body_htmlstring必需
tagsstring必需
handlestring必需
idstring必需
titlestring必需
product_typestring必需
urlstring必需
vendorstring必需
imagesarray [object]必需
子字段
srcstring
variantobject必需
子字段
skustring必需
titlestring必需
imagesarray [object]必需
子字段
srcstring
idstring必需
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"
          }
        }
      }
    }
  }
}