HomeGuidesAPI ReferenceChangelogDiscussions
HomeLog In
Guides

Update Merchant

PUT https://open.shopline.io/v1/merchants/{id}

To update merchants with customer IDs.

使用商戶ID更新商戶。

curl --location --request PUT 'https://<api_domain>/v1/merchants/<merchant id>' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "sl_payment_mcc": "hello"
}'

Path Parameters

id Required string Merchant's ID
商戶ID

Request Params

emails hash Other emails 其他電郵, eg: { "order": "[email protected]", "message": "[email protected]", "comment": "[email protected]", "low_inventory": "[email protected]", "billing": [ "[email protected]" ], "shopline_payment": "[email protected]" }
sl_payment_merchant_id string sl_payment_merchant_id 支付中台merchant id
sl_payment_mcc string sl_payment_mcc 渠道分配的mcc
sl_payment_billing_descriptor_name string Store's billing descriptor 商店交易名稱

Sample Response

Same as the response of Get Merchant
跟Get merchant response 相同
Get Merchant