Mutation Root
The schema's entry-point for mutations. This acts as the public, top-level API from which all mutations must start.
Anchor to FieldsFields
- appCreditCreate (AppCreditCreatePayload)
- eventsinkCreate (EventsinkCreatePayload)
- eventsinkDelete (EventsinkDeletePayload)
- Anchor to appCreditCreateapp•App
Credit Create Credit Create Payload Allows an app to create a credit for a shop that can be used towards future app purchases. This mutation is only available to Partner API clients that have been granted the
View financialspermission.- Anchor to appIdapp•ID!
Id required The id of the app to associate the credit with. Example value:
.- Anchor to shopIdshop•ID!
Id required The id of the shop to be credited. Example value:
.- Anchor to amountamount•Money
Input! required The amount that can be used towards future app purchases in Shopify.
- Anchor to descriptiondescription•String!required
The description of the app credit.
- Anchor to testtest•BooleanDefault:false
Specifies whether the app credit is a test transaction.
Arguments
- Anchor to eventsinkCreateeventsink•Eventsink
Create Create Payload Creates a new Eventsink.
- Anchor to inputinput•Eventsink
Create Input! required Details of eventsink to create.
Arguments
- Anchor to eventsinkDeleteeventsink•Eventsink
Delete Delete Payload Deletes an Eventsink.
- •ID!required
Eventsink to delete.
- Anchor to appIdapp•ID!
Id required The App that associated with the Eventsink.
- Anchor to topictopic•Eventsink
Topic! required The topic of the Eventsink.
Arguments
- •ID!