Assign merchant role to member
this api assign merchant role to member
GRAPHQL
Headers
Fields | Type | Description | Example | O/M | Data Management |
---|---|---|---|---|---|
URL | string | {base_url}/graphql/loop-merchant-payments-service | M | ||
GRAPHQL | string | MUTATION | M | ||
content-type | string | JSON | application/json | M | |
x-access-token | string | Session token with validity | token | M | admin token |
Request
{
mutation {
assign_merchant_role(
member_id: "ABCD1234"
){
success
}
}
}
Success
{
"success": true
}
Error