CreateDistributor
Signature
mutation {
CreateDistributor(email: ..., corporateName: ..., firstName: ..., lastName: ..., mobile: ..., createDistributorNetwork: ..., withEmail: ...)
}
Retourne : Distributor!
Arguments
| Nom | Type | Requis | Défaut | Description |
|---|---|---|---|---|
email | String! | ✓ | — | — |
corporateName | String! | ✓ | — | — |
firstName | String! | ✓ | — | — |
lastName | String! | ✓ | — | — |
mobile | String! | ✓ | — | — |
createDistributorNetwork | Boolean! | ✓ | — | — |
withEmail | Boolean! | ✓ | — | — |
Exemple
mutation {
CreateDistributor(
email: $email
corporateName: $corporateName
firstName: $firstName
lastName: $lastName
mobile: $mobile
createDistributorNetwork: $createDistributorNetwork
withEmail: $withEmail
) {
# Sélectionner les champs souhaités
}
}