OBJECT

Query

link GraphQL Schema definition

1type Query {
2
3# Gets subscriptions by user and subscription type.
4#
5# Equivalent to GET /store/{storeId}/subscription
6#
7# Arguments
8# buyerId: The buyer ID.
9# profileName: Profile name. Profiles determine the subset of
10# data returned by a query.
11# q: The query name.
12# responseFormat: The response format. Valid values are json and
13# xml. If the request contains an input body, it must use the format specified in
14# responseFormat. If the responseFormat is not specified, the accept HTTP header
15# determines the format of the response. If the accept HTTP header is not
16# specified then default response format is json.
17# storeId: The store identifier.
18# subscriptionId: The subscription Id.
19# subscriptionTypeCode: The subscription type code for example,
20# All, RecurringOrder.
21subscriptionByBuyerIdAndSubscriptionType(
22buyerId: String!,
23profileName: ProfileName,
24q: Q!,
25responseFormat: ResponseFormat,
26storeId: String!,
27subscriptionId: String!,
28subscriptionTypeCode: String!
29): SubscriptionIBMStoreSummary
50
30# Gets subscription information by subscription ID.
31#
32# Equivalent to GET /store/{storeId}/subscription/{subscriptionId}
33#
34# Arguments
35# profileName: Profile name. Profiles determine the subset of
36# data returned by a query.
37# responseFormat: The response format. Valid values are json and
38# xml. If the request contains an input body, it must use the format specified in
39# responseFormat. If the responseFormat is not specified, the accept HTTP header
40# determines the format of the response. If the accept HTTP header is not
41# specified then default response format is json.
42# storeId: The store identifier.
43# subscriptionId: The subcription ID.
44subscriptionBySubscriptionId(
45profileName: ProfileName2,
46responseFormat: ResponseFormat,
47storeId: String!,
48subscriptionId: String!
49): SubscriptionIBMStoreDetails
51
52}

link Required by

This element is not required by anyone