更新子商户
Update Sub-Merchant
PATCH
/v1/sub-merchants/{code}
授权
bearer_auth
API key authentication. Use sk_test_... for sandbox or sk_live_... for production.
类型
HTTP (bearer)
参数
路径参数
code*
Sub-merchant code (e.g. shop_tokyo)
类型
必填string
请求体
application/json
JSON "display_name": "Tokyo Main Branch", "status": "string"
{
}
响应
Sub-merchant updated
application/json
JSON "child_org_id": "string", "created_at": "2026-01-15T08:30:00Z", "display_name": "Tokyo Branch", "id": "sm_abc123", "parent_org_id": "string", "status": "string", "sub_merchant_code": "shop_tokyo", "updated_at": "2026-03-20T10:00:00Z"
{
}