'1.0', 'info' => [ 'style' => 'RPC', 'product' => 'retailadvqa', 'version' => '2023-04-17', ], 'directories' => [ [ 'id' => 182071, 'title' => null, 'type' => 'directory', 'children' => [ 'EditMemberBasicInfo', 'CalculateMemberLevel', 'MemberAccountDetailPageQuery', 'SyncMemberBehaviorInfo', 'QueryMemberBasicInfo', 'MemberPointChange', 'SyncCardInfo', 'AddMemberBasicInfo', 'BatchSaveOrderPop', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'EditMemberBasicInfo' => [ 'summary' => '会员信息编辑API', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'Body', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1230094', ], 'PlatformType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'TAOBAO', ], 'Mobile' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '***********', ], 'MemberNickName' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxxx', ], 'MemberName' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Birthday' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2024-06-20', ], 'Country' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Province' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'City' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Area' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Sex' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Email' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxx.com', ], 'Avatar' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxx.jpg', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '1DEFC4F1-AF11-5A3C-93B9-2880768DA218'."\n", ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError', ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1DEFC4F1-AF11-5A3C-93B9-2880768DA218\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\\\n\\",\\n \\"Message\\": \\"success\\",\\n \\"HttpStatusCode\\": \\"200\\"\\n}","type":"json"}]', ], 'CalculateMemberLevel' => [ 'summary' => '会员等级初始化', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'Body', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'CurrentGrade' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], 'CurrentGradeName' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'MemberId' => [ 'description' => '', 'type' => 'string', 'format' => 'int64', 'required' => true, 'example' => '4000006009418358', ], 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1230094', ], 'PlatformType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'TAOBAO', ], 'Score' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '0', ], 'SerialNo' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '0235b7f20a11de9e2bf4c3494b6d998d', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '1DEFC4F1-AF11-5A3C-93B9-2880768DA218'."\n", ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError'."\n", ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Message' => [ 'type' => 'string', ], 'Grade' => [ 'description' => '', 'type' => 'string', 'example' => '1', ], 'OuterMemberId' => [ 'description' => '', 'type' => 'string', 'example' => '6062f9067f170700a2e7ef5a', ], ], ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1DEFC4F1-AF11-5A3C-93B9-2880768DA218\\\\n\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\\\n\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\\\n\\",\\n \\"Message\\": \\"success\\",\\n \\"Grade\\": \\"1\\",\\n \\"OuterMemberId\\": \\"6062f9067f170700a2e7ef5a\\"\\n}","type":"json"}]', ], 'MemberAccountDetailPageQuery' => [ 'summary' => '开放平台会员积分明细查询', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '750cff00c3e0996d220ac2861dafdfadsf', ], 'PlatFormType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'OuterMemberId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'WMS_36606164948078_23218019', ], 'AccountType' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'enumValueTitles' => [ 20 => '', 30 => '', ], 'example' => '20'."\n", ], 'StartTime' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2011-09-01 00:00:00'."\n" ."\n", ], 'EndTime' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2011-09-02 00:00:00'."\n" ."\n", ], 'Page' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'TotalCount' => [ 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5000', ], 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '1DEFC4F1-AF11-5A3C-93B9-2880768DA218'."\n", ], 'Success' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'true', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError', ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Data' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'example' => '750cff00c3e0996d220ac2861dafdfadsf'."\n", ], 'OuterMemberId' => [ 'description' => '', 'type' => 'string', 'example' => 'MEMBER_fc498a12edd84dafd', ], 'AccountType' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'OperateType' => [ 'description' => '', 'type' => 'string', 'example' => '1', ], 'DetailValue' => [ 'description' => '', 'type' => 'string', 'example' => '20', ], 'AccountBalance' => [ 'description' => '', 'type' => 'string', 'example' => '100', ], 'ChannelCode' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ActivityType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'GmtCreate' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'GmtModified' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'Remark' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '...', ], 'Extra' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '...', ], ], 'required' => true, ], 'required' => false, ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'IdempotentParameterMismatch', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5000,\\n \\"RequestId\\": \\"1DEFC4F1-AF11-5A3C-93B9-2880768DA218\\\\n\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\",\\n \\"Data\\": [\\n {\\n \\"OpenMerchantId\\": \\"750cff00c3e0996d220ac2861dafdfadsf\\\\n\\",\\n \\"OuterMemberId\\": \\"MEMBER_fc498a12edd84dafd\\",\\n \\"AccountType\\": 20,\\n \\"OperateType\\": \\"1\\",\\n \\"DetailValue\\": \\"20\\",\\n \\"AccountBalance\\": \\"100\\",\\n \\"ChannelCode\\": \\"如:alipay\\",\\n \\"ActivityType\\": \\"示例值:\\\\n订单/活动/抽奖/…\\",\\n \\"GmtCreate\\": \\"示例值:\\\\n2011-09-01 00:00:00\\",\\n \\"GmtModified\\": \\"示例值:\\\\n2011-09-01 00:00:00\\",\\n \\"Remark\\": \\"...\\",\\n \\"Extra\\": \\"...\\"\\n }\\n ]\\n}","type":"json"}]', ], 'SyncMemberBehaviorInfo' => [ 'summary' => '开放平台会员行为信息同步', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'type' => 'string', 'required' => true, ], 'PlatFormType' => [ 'type' => 'string', 'required' => true, ], 'OuterMemberId' => [ 'type' => 'string', 'required' => true, ], 'ActionType' => [ 'type' => 'string', 'required' => true, ], 'ActionSubType' => [ 'type' => 'string', ], 'ActionStartDate' => [ 'type' => 'string', 'required' => false, ], 'ActionEndDate' => [ 'type' => 'string', 'required' => false, ], 'ActionResult' => [ 'type' => 'boolean', ], 'ActionDuration' => [ 'type' => 'string', ], 'Extra' => [ 'type' => 'string', ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '1DEFC4F1-AF11-5A3C-93B9-2880768DA218'."\n", ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError'."\n", ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1DEFC4F1-AF11-5A3C-93B9-2880768DA218\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\\\n\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\"\\n}","type":"json"}]', ], 'QueryMemberBasicInfo' => [ 'summary' => '查询会员基础信息', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '750cff00c3e0996d220ac2861dafdfadsf', ], 'PlatFormType' => [ 'type' => 'string', 'required' => true, ], 'Type' => [ 'description' => '', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 1 => '', '', '', ], 'example' => '1', 'title' => '1-渠道OpenId'."\0".',2-手机号,3-外部会员id', 'docRequired' => false, ], 'OuterMemberId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'WMS_36606164948078_23218019', ], 'Mobile' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '18888889999', ], 'ChannelCode' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', 'title' => 'wechat'."\0".'-微信,alipay'."\0".'-支付宝', ], 'ChannelOpenId' => [ 'type' => 'string', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '1DEFC4F1-AF11-5A3C-93B9-2880768DA218'."\n", ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError'."\n", ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Data' => [ 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'type' => 'string', ], 'OuterMemberId' => [ 'type' => 'string', ], 'MemberName' => [ 'type' => 'string', ], 'Mobile' => [ 'type' => 'string', ], 'Sex' => [ 'type' => 'string', ], 'Birthday' => [ 'type' => 'string', ], 'Country' => [ 'type' => 'string', ], 'Province' => [ 'type' => 'string', ], 'City' => [ 'type' => 'string', ], 'Email' => [ 'type' => 'string', ], 'Avatar' => [ 'type' => 'string', 'required' => true, ], 'LevelNum' => [ 'type' => 'string', ], 'LevelName' => [ 'type' => 'string', ], 'Points' => [ 'type' => 'string', ], 'Score' => [ 'type' => 'string', ], 'Extra' => [ 'type' => 'string', 'required' => false, ], 'Area' => [ 'type' => 'string', ], 'MemberNickName' => [ 'type' => 'string', ], 'NearExpiredScore' => [ 'type' => 'string', ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1DEFC4F1-AF11-5A3C-93B9-2880768DA218\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\\\n\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\",\\n \\"Data\\": {\\n \\"OpenMerchantId\\": \\"750cff00c3e0996d220ac2861dafdfadsf\\\\n\\",\\n \\"OuterMemberId\\": \\"MEMBER_fc498a12edd84dafd\\",\\n \\"MemberName\\": \\"匿名会员\\",\\n \\"Mobile\\": \\"13999999999\\",\\n \\"Sex\\": \\"男\\",\\n \\"Birthday\\": \\"1992-04-17\\",\\n \\"Country\\": \\"中国\\",\\n \\"Province\\": \\"浙江\\",\\n \\"City\\": \\"杭州\\",\\n \\"Email\\": \\"xxx@xxx.com\\",\\n \\"Avatar\\": \\"https://tfs.alipayobjects.com/images/partner/TB1aWA7Xv5GDuNjHvSCXXczuXXa\\",\\n \\"LevelNum\\": \\"1\\",\\n \\"LevelName\\": \\"VIP0\\",\\n \\"Points\\": \\"100\\",\\n \\"Score\\": \\"73\\",\\n \\"Extra\\": \\"...\\",\\n \\"Area\\": \\"余杭\\",\\n \\"MemberNickName\\": \\"aaa\\",\\n \\"NearExpiredScore\\": \\"0\\"\\n }\\n}","type":"json"}]', ], 'MemberPointChange' => [ 'summary' => '会员积分变更', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '750cff00c3e0996d220ac2861dafdfadsf', ], 'PlatFormType' => [ 'type' => 'string', 'required' => true, ], 'OuterMemberId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'WMS_36606164948078_23218019', ], 'Quantity' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1', ], 'AccountType' => [ 'type' => 'string', 'required' => true, ], 'OperateType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 1 => '', '', ], 'example' => '1', ], 'SerialNo' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '4LJDNJH9JUX48L41', ], 'ChannelCode' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Extra' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '""', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => 'B2CD5682-12C0-51A7-82FC-1D36091CADAD', ], 'Success' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError'."\n", ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'AccountBalance' => [ 'type' => 'string', ], 'LevelName' => [ 'description' => '', 'type' => 'string', 'example' => '12', 'required' => true, ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2CD5682-12C0-51A7-82FC-1D36091CADAD\\",\\n \\"Success\\": \\"true\\",\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\\\n\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\\\n\\",\\n \\"AccountBalance\\": \\"100\\",\\n \\"LevelName\\": \\"12\\"\\n}","type":"json"}]', ], 'SyncCardInfo' => [ 'summary' => '卡券信息同步', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '750cff00c3e0996d220ac2861dafdfadsf', ], 'TransferId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '3eecd2b8a6f946ca', ], 'OrderId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '223332140970453', ], 'BuyerId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1236437142867408', ], 'Recipient' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1000030855004', ], 'Phone' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '18899998888', ], 'OpenId' => [ 'description' => 'openId', 'type' => 'string', 'required' => false, 'example' => '1179ead68b3833fea61a802ddb1dd3ac', ], 'Nickname' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'HeaderImg' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://xxx/1.jpg', ], ], 'required' => false, ], 'Gifters' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1000030820003', ], 'Phone' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '13277778888', ], 'OpenId' => [ 'description' => 'openId', 'type' => 'string', 'required' => false, 'example' => '82ace612cd377134d597e32e91562caf', ], 'Nickname' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'HeaderImg' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://xxx/2.jpg', ], ], 'required' => false, ], 'Status' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'success' => 'success', 'failed' => 'failed', ], 'example' => 'success', ], 'Theme' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'TransferredAt' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-05-12 00:00:00', ], 'ReceivedAt' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-05-12 00:00:00', ], 'PresentDetail' => [ 'description' => '', 'type' => 'array', 'properties' => [ 'ItemId' => [ 'name' => 'ItemId', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '608356956277', 'backendName' => 'itemId', ], 'Price' => [ 'name' => 'Price', 'description' => '', 'type' => 'number', 'format' => 'double', 'required' => false, 'example' => '89.5', 'backendName' => 'price', ], 'Name' => [ 'name' => 'Name', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', 'backendName' => 'name', ], 'Count' => [ 'name' => 'Count', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0', 'backendName' => 'count', 'parseType' => 'struct', ], 'SkuId' => [ 'name' => 'SkuId', 'description' => 'SKU', 'type' => 'string', 'required' => false, 'example' => '4365eaf6f61840f7ac77054126a33366', 'backendName' => 'skuId', ], ], 'required' => false, 'title' => '商品详情', 'items' => [ 'type' => 'object', 'properties' => [ 'ItemId' => [ 'title' => '商品ID', 'type' => 'string', ], 'Price' => [ 'type' => 'number', 'format' => 'double', ], 'Name' => [ 'title' => '商品名称', 'type' => 'string', ], 'Count' => [ 'type' => 'integer', 'format' => 'int64', ], 'SkuId' => [ 'title' => 'SKU', 'type' => 'string', ], ], ], ], 'OccurredAt' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2023-05-12 00:00:00', ], 'Extra' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '""', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => '', 'type' => 'string', 'example' => '1DEFC4F1-AF11-5A3C-93B9-2880768DA218'."\n", ], 'Success' => [ 'description' => '', 'type' => 'string', 'example' => 'true', ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'string', 'example' => '200', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError'."\n", ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Message' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1DEFC4F1-AF11-5A3C-93B9-2880768DA218\\\\n\\",\\n \\"Success\\": \\"true\\",\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\\\n\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\\\n\\",\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', ], 'AddMemberBasicInfo' => [ 'summary' => '开放平台同步会员基础信息', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'chargeType' => 'paid', ], 'parameters' => [ [ 'name' => 'body', 'in' => 'query', 'allowEmptyValue' => false, 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OpenMerchantId' => [ 'title' => '开放商家加密ID', 'type' => 'string', 'required' => true, ], 'PlatFormType' => [ 'type' => 'string', 'required' => true, ], 'MemberName' => [ 'title' => '姓名', 'type' => 'string', ], 'MemberNickName' => [ 'type' => 'string', ], 'Mobile' => [ 'title' => '手机号', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '17716699087', ], 'MixMobile' => [ 'title' => '加密手机号', 'type' => 'string', ], 'Sex' => [ 'title' => '性别', 'type' => 'string', ], 'Birthday' => [ 'title' => '生日', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2022-09-08', ], 'Country' => [ 'type' => 'string', ], 'Province' => [ 'title' => '省份', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'City' => [ 'title' => '城市', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Area' => [ 'type' => 'string', ], 'Email' => [ 'type' => 'string', ], 'Avatar' => [ 'type' => 'string', ], 'Channels' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ChannelCode' => [ 'type' => 'string', 'required' => true, ], 'AppId' => [ 'type' => 'string', ], 'ChannelOpenId' => [ 'type' => 'string', ], 'ChannelUnionId' => [ 'type' => 'string', ], 'Scene' => [ 'title' => '场景', 'type' => 'string', 'required' => false, ], ], 'required' => false, ], 'required' => true, 'maxItems' => 100, ], 'GmtCreate' => [ 'title' => '创建时间', 'type' => 'string', ], 'Extra' => [ 'title' => '其他', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '""', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => '', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => '请求ID,唯一标示', 'description' => '', 'type' => 'string', 'example' => '1DEFC4F1-AF11-5A3C-93B9-2880768DA218'."\n", ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'ErrorCode' => [ 'title' => '错误码', 'description' => '', 'type' => 'string', 'example' => 'Lydaas.QuickMember.SystemError'."\n", ], 'ErrorMessage' => [ 'title' => '错误信息', 'type' => 'string', ], 'OuterMemberId' => [ 'title' => '会员id', 'description' => '', 'type' => 'string', 'example' => 'WMS_36606164948078_23218019', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1DEFC4F1-AF11-5A3C-93B9-2880768DA218\\\\n\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"Lydaas.QuickMember.SystemError\\\\n\\",\\n \\"ErrorMessage\\": \\"系统错误: openMerchantId 不能为空\\\\n\\",\\n \\"OuterMemberId\\": \\"WMS_36606164948078_23218019\\"\\n}","type":"json"}]', ], 'BatchSaveOrderPop' => [ 'summary' => '批量保存订单信息', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'Orders', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ChannelCode' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'doudian', ], 'ChannelOpenId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1699b2b974d444e3aa489f96457ef204', ], 'OpenOrderId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'testOpenOrderId', ], 'buyerOpenUid' => [ 'type' => 'string', ], 'OpenMerchantId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'testOpenMerchantId', ], 'PlatformType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'DOUDIAN', ], 'OrderPayment' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '10000', ], 'TotalFee' => [ 'description' => '', 'type' => 'string', 'format' => 'int64', 'required' => true, 'example' => '10000', ], 'PostFee' => [ 'type' => 'string', ], 'OrderCreateTime' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '2023-12-20 12:12:12', ], 'PayTime' => [ 'type' => 'string', ], 'EndTime' => [ 'type' => 'string', ], 'ShopId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'testShopId', ], 'Status' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'TRADE_FINISHED', ], 'Feature' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'SubOrderModelList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'OpenSubOrderId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'testSubOrderId', ], 'TotalFee' => [ 'description' => '', 'type' => 'string', 'format' => 'int64', 'required' => true, 'example' => '10000', ], 'OrderPayment' => [ 'description' => '', 'type' => 'string', 'format' => 'int64', 'required' => true, 'example' => '10000', ], 'ProductAmount' => [ 'description' => '', 'type' => 'string', 'format' => 'int64', 'required' => true, 'example' => '1', ], 'ProductId' => [ 'type' => 'string', ], 'OutProductId' => [ 'type' => 'string', ], 'ProductName' => [ 'type' => 'string', ], 'Status' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'TRADE_FINISHED', ], 'RefundStatus' => [ 'type' => 'string', ], 'Feature' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'OrderTag' => [ 'type' => 'string', ], 'ConsignTime' => [ 'type' => 'string', ], 'ReceiverCity' => [ 'type' => 'string', ], 'ReceiverState' => [ 'type' => 'string', ], 'DiscountFee' => [ 'type' => 'string', ], 'AdjustFee' => [ 'type' => 'string', ], 'ItemMealId' => [ 'type' => 'string', ], 'ItemMealName' => [ 'type' => 'string', ], 'BuyerRate' => [ 'type' => 'string', ], 'SellerRate' => [ 'type' => 'string', ], 'RefundId' => [ 'type' => 'string', ], 'Cid' => [ 'type' => 'string', ], 'BuyerArea' => [ 'type' => 'string', ], 'SellerFlag' => [ 'type' => 'string', ], 'TradeFrom' => [ 'type' => 'string', ], 'Payment' => [ 'type' => 'string', ], ], 'required' => false, ], 'required' => true, ], 'ConsignTime' => [ 'type' => 'string', ], 'ReceiverCity' => [ 'type' => 'string', ], 'ReceiverState' => [ 'type' => 'string', ], 'Sid' => [ 'type' => 'string', ], 'BuyerRate' => [ 'title' => '买家是否评价,1-已评价,0-未评价', 'type' => 'string', ], 'SellerRate' => [ 'title' => '卖家是否评价,1-已评价,0-未评价', 'type' => 'string', ], 'DiscountFee' => [ 'type' => 'string', ], 'AdjustFee' => [ 'type' => 'string', ], 'CommissionFee' => [ 'type' => 'string', ], 'BuyerArea' => [ 'type' => 'string', ], 'PointFee' => [ 'type' => 'string', ], 'RealPointFee' => [ 'type' => 'string', ], 'SellerFlag' => [ 'type' => 'string', ], 'tradeFrom' => [ 'type' => 'string', ], ], 'required' => true, ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => [ 'title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'testRequestId', ], 'Success' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'HttpStatusCode' => [ 'description' => '', 'type' => 'string', 'example' => '200/400...', ], 'ErrorCode' => [ 'description' => '', 'type' => 'string', 'example' => 'testErrorCode', ], 'ErrorMessage' => [ 'description' => '', 'type' => 'string', 'example' => 'testErrorMessage', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"testRequestId\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": \\"200/400...\\",\\n \\"ErrorCode\\": \\"testErrorCode\\",\\n \\"ErrorMessage\\": \\"testErrorMessage\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-shenzhen', 'endpoint' => 'quicka.cn-shenzhen.aliyuncs.com', ], [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'quicka.cn-zhangjiakou.aliyuncs.com', ], [ 'regionId' => 'cn-shanghai', 'endpoint' => 'quicka.cn-shanghai.aliyuncs.com', ], ], ];