OBJECT

Mutation

link GraphQL Schema definition

1type Mutation {
2
3# Cancels the specified recurring or subscription order.
4#
5# Equivalent to DELETE
6# /store/{storeId}/subscription/{orderId}/cancel_recurring_or_subscription
7#
8# Arguments
9# orderId: The order ID.
10# responseFormat: The response format. Valid values are json and
11# xml. If the request contains an input body, it must use the format specified in
12# responseFormat. If the responseFormat is not specified, the accept HTTP header
13# determines the format of the response. If the accept HTTP header is not
14# specified then default response format is json.
15# storeId: The store identifier.
16# subscriptionId: The subscription ID.
17subscriptionCancelRecurringOrSubscription(
18orderId: String!,
19responseFormat: ResponseFormat,
20storeId: String!,
21subscriptionId: String
22): cancelRecurringOrSubscription
43
23# Submits a recurring or subscription order.
24#
25# Equivalent to POST
26# /store/{storeId}/subscription/{orderId}/submit_recurring_or_subscription
27#
28# Arguments
29# orderId: The order ID.
30# requestBody: [Not documented]
31# responseFormat: The response format. Valid values are json and
32# xml. If the request contains an input body, it must use the format specified in
33# responseFormat. If the responseFormat is not specified, the accept HTTP header
34# determines the format of the response. If the accept HTTP header is not
35# specified then default response format is json.
36# storeId: The store identifier.
37subscriptionSubmitRecurringOrSubscription(
38orderId: String!,
39requestBody: submitRecurringOrSubscriptionInput,
40responseFormat: ResponseFormat,
41storeId: String!
42): submitRecurringOrSubscriptionResponse
44
45}

link Required by

This element is not required by anyone