API version 2021-01 Release candidate
API version 2020-10 Latest
API version 2020-07
API version 2020-04
API version 2020-01
API version 2019-10 Unsupported
API version 2019-07 Unsupported

SellingPlanGroup object

Version 2021-01 (Release candidate)

Represents a selling plan group.

Required access

Requires access to either all or app-owned selling plans.

Connections

productVariants (ProductVariantConnection!)

Product Variants associated to the selling plan group.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

productId ( ID )

Filters the product variants by a product id.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

products (ProductConnection!)

Products associated to the selling plan group.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

sellingPlans (SellingPlanConnection!)

Selling plans associated to the selling plan group.

after ( String )

Returns the elements that come after the specified cursor.

before ( String )

Returns the elements that come before the specified cursor.

first ( Int )

Returns up to the first n elements from the list.

last ( Int )

Returns up to the last n elements from the list.

reverse ( Boolean )

Reverse the order of the underlying list.
Default value: false

Fields

appId (String)

Identifier for app, exposed in Liquid and product JSON.

appliesToProduct (Boolean!)

Whether the given product is directly associated with the selling plan group.

productId ( ID! ) required

The ID of the product.

appliesToProductVariant (Boolean!)

Whether the given product variant is directly associated with the selling plan group.

productVariantId ( ID! ) required

The ID of the product.

appliesToProductVariants (Boolean!)

Whether any of the product variants of the given product are associated with the selling plan group.

productId ( ID! ) required

The ID of the product.

createdAt (DateTime!)

The date and time when the selling plan group was created.

description (String)

Merchant facing description of the selling plan group.

id (ID!)

Globally unique identifier.

merchantCode (String!)

Merchant facing label of the selling plan group.

name (String!)

Buyer facing label of the selling plan group.

options ([String!]!)

List of options values available to selling plans for the group.

position (Int)

Relative position of the selling plan group for display.

productCount (Int!)

Count of products associated to the selling plan group.

productVariantCount (Int!)

Count of product variants associated to the selling plan group.

productId ( ID )

The ID of the product to scope the count to.

summary (String)

Summary of the policies of the selling plan group.

Types that return SellingPlanGroup

Mutations for SellingPlanGroup

sellingPlanGroupAddProductVariants

Adds multiple product variants to a selling plan group.

sellingPlanGroupAddProducts

Adds multiple products to a selling plan group.

sellingPlanGroupCreate

Creates a Selling Plan Group.

sellingPlanGroupDelete

Delete a Selling Plan Group.

sellingPlanGroupRemoveProductVariants

Removes multiple product variants from a selling plan group.

sellingPlanGroupRemoveProducts

Removes multiple products from a selling plan group.

sellingPlanGroupUpdate

Update a Selling Plan Group.

Implements