Square connect 如何使用Square Connect目录API获取到Square Store产品的链接
我的客户在Square有一家在线商店。例如,直接产品链接是: 我正在使用catalog API成功下载她所有产品的列表-获取名称、说明、价格、图像url和商品id。示例:Square connect 如何使用Square Connect目录API获取到Square Store产品的链接,square-connect,Square Connect,我的客户在Square有一家在线商店。例如,直接产品链接是: 我正在使用catalog API成功下载她所有产品的列表-获取名称、说明、价格、图像url和商品id。示例: { "name": "Vermillion Wave", "description": "Art Glass by Barbara Westfall, M.F.A.\n14\"w x 18\"h\nFused glass. Colors: Red, Orange, Iridescent blue\nInclu
{
"name": "Vermillion Wave",
"description": "Art Glass by Barbara Westfall, M.F.A.\n14\"w x 18\"h\nFused glass. Colors: Red, Orange, Iridescent blue\nIncludes hardware for wall mount",
"visibility": "PUBLIC",
"available_online": true,
"category_id": "BJBBZFC4XG7OJNTKTHZJIXZN",
"ordinal": 6,
"tax_ids": [
"FNLAO42DW2BZ7QBH6EOFG724"
],
"image_url": "https://square-production.s3.amazonaws.com/files/2ccc245b18a52e82cd3edf524cf7ca52131fc400/original.jpeg",
"variations": [
{
"type": "ITEM_VARIATION",
"id": "573MTFRL37CO2YX5LCAPKYKF",
"updated_at": "2018-02-04T05:14:27.391Z",
"version": 1517721267391,
"is_deleted": false,
"catalog_v1_ids": [
{
"catalog_v1_id": "38b4d712-3882-45c7-982f-eaa3ea042e32",
"location_id": "8MVKB4PVKKAF9"
}
],
"present_at_all_locations": false,
"present_at_location_ids": [
"8MVKB4PVKKAF9"
],
"item_variation_data": {
"item_id": "CRBWP5INOYUN46TTQPLWNQC6",
"name": "Regular",
"ordinal": 1,
"pricing_type": "FIXED_PRICING",
"price_money": {
"amount": 24500,
"currency": "USD"
}
}
}
],
"product_type": "REGULAR",
"skip_modifier_screen": false
}
我想根据catalogapi中的数据提供一个到在线商店项目的链接,但是我在这个项目数据中没有看到允许的信息。本例中的url恰好是带有破折号的名称的小写版本,但是她的大多数项目的名称与slug中的名称非常不同
是否有其他选项可以获取该url以便我提供链接?我查看了您提供的示例链接,您的客户似乎正在使用Square free在线商店。不幸的是,CatalogAPI没有提供到免费在线商店的链接