Set admission rules(API-C17)

Interface description

Users who set access rules can call this interface to complete the setting of access rules for the platform, and the subsequent entry of the seller will be pushed to the user side according to the rules set by the user.

Interface address

POST    /v1/platform/rule

Request parameters

Field Description Required
platformCode Enum
Dowsure Supported platformscode
AMAZON、EBAY、SHOPEE
Required
ruleJson String(500)
Access rules set by users (partners)
Optional
ruleEnabled Boolean
Enable or not, default:FALSE
TRUE、FALSE
Optional
redirectUrl String(500)
Redirect to user side incoming URL
Required

[!NOTE|style:flat] In this document, [ruleJson and ruleEnabled] are not required, just pass the platform and redirect URL.

Request Example

{
    "platformCode": "AMAZON",
    "redirectUrl": "https://www.dowsure.com/"
}

5.5 Response Parameters

See:Appendix 4: Unified Response

5.6 Response Example

none

results matching ""

    No results matching ""