GeoPard Tutorials
Ask or search…
⌃K

13. Mutation: Create "Farm"

Create "Farm".
It is possible to link your own "Farm" unique identification via the externalKey attribute. The attribute is optional.
1
mutation CreateFarmSample {
2
createFarm(input:{
3
name: "Mutation Farm"
4
externalKey: "<third_party_indentificator>"
5
} ) {
6
uuid
7
userUuid
8
name
9
farmOwnership
10
externalKey
11
}
12
}