13. ミューテーション:"Farm"を作成

「ファーム」を作成します。

circle-info

自身の「ファーム」固有識別子を属性を介して紐付けることができます。 externalKey その属性は任意です。

mutation CreateFarmSample {
  createFarm(input:{
    name: "Mutation Farm"
    externalKey: "<third_party_indentificator>"
  } ) {
    uuid
    userUuid
    名前
    farmOwnership
    externalKey
  }
}

最終更新

役に立ちましたか?