如何通过Bigcommerce API获取商店链接

时间:2015-03-09 05:44:11

标签: bigcommerce

如何在安装步骤中获取商店网址?因为商店哈希不是我真正需要的东西,因为那时我无法通过链接以某种方式访问​​。

1 个答案:

答案 0 :(得分:0)

如果您使用的是bigcommerce api,则可以根据文档获取store information: https://developer.bigcommerce.com/api/stores/v2/store_information

api回复给你:

stdClass Object
(
    [id] => [your-store-identifier]
    [domain] => [youstore-domain-name].mybigcommerce.com
    [name] => test
    [address] => 
    [phone] => 
    [admin_email] => test@domain.com
    [order_email] => test@domain.com
    [language] => en
    [currency] => USD
    [currency_symbol] => $
    [decimal_separator] => .
    [thousands_separator] => ,
    [decimal_places] => 2
    [currency_symbol_location] => left
    [weight_units] => LBS
    [dimension_units] => Inches
    [dimension_decimal_places] => 2
    [dimension_decimal_token] => .
    [dimension_thousands_token] => ,
    [plan_name] => Professional Application Developer Store
    [logo] => Array
        (
        )

    [is_price_entered_with_tax] => 
    [active_comparison_modules] => Array
        (
        )

)