Mutations
channel
Type: Channel
Creates a new Channel instance
Arguments
Name | Description |
---|---|
name | |
storeUrl | |
fullStoreUrl | |
enabled | |
accessToken | |
setupStatus | |
processTags |
commissionOverride
Type: CommissionOverride
Creates a new Commission override instance
Arguments
Name | Description |
---|---|
commissionType | |
name | |
commission | |
tags | |
productTypes |
consignment
Type: Consignment
Creates a new Consignment instance
Arguments
Name | Description |
---|---|
sellerId | |
orderId |
consignmentItem
Type: ConsignmentItem
Creates a new Consignment item instance
Arguments
Name | Description |
---|---|
consignmentId | |
orderItemId | |
paymentId | |
quantity | |
due | |
dueBase | |
exchangeRate | |
taxBase | |
tax | |
taxRate | |
isPaid |
consignmentItemSurcharge
Type: ConsignmentItemSurcharge
Creates a new Consignment item surcharge instance
Arguments
Name | Description |
---|---|
surchargeId | |
consignmentItemId | |
paymentId | |
value |
destroyChannel
Type: Channel
Deletes a Channel
Arguments
Name | Description |
---|---|
id | ID for the Channel instance |
destroyCommissionOverride
Type: CommissionOverride
Deletes a Commission override
Arguments
Name | Description |
---|---|
id | ID for the Commission override instance |
destroyConsignment
Type: Consignment
Deletes a Consignment
Arguments
Name | Description |
---|---|
id | ID for the Consignment instance |
destroyConsignmentItem
Type: ConsignmentItem
Deletes a Consignment item
Arguments
Name | Description |
---|---|
id | ID for the Consignment item instance |
destroyConsignmentItemSurcharge
Type: ConsignmentItemSurcharge
Deletes a Consignment item surcharge
Arguments
Name | Description |
---|---|
id | ID for the Consignment item surcharge instance |
destroyFulfillment
Type: Fulfillment
Deletes a Fulfillment
Arguments
Name | Description |
---|---|
id | ID for the Fulfillment instance |
destroyFulfillmentItem
Type: FulfillmentItem
Deletes a Fulfillment item
Arguments
Name | Description |
---|---|
id | ID for the Fulfillment item instance |
destroyManualItem
Type: ManualItem
Deletes a Manual item
Arguments
Name | Description |
---|---|
id | ID for the Manual item instance |
destroyOrder
Type: Order
Deletes a Order
Arguments
Name | Description |
---|---|
id | ID for the Order instance |
destroyOrderItem
Type: OrderItem
Deletes a Order item
Arguments
Name | Description |
---|---|
id | ID for the Order item instance |
destroyPayment
Type: Payment
Deletes a Payment
Arguments
Name | Description |
---|---|
id | ID for the Payment instance |
destroyProduct
Type: Product
Deletes a Product
Arguments
Name | Description |
---|---|
id | ID for the Product instance |
destroySeller
Type: Seller
Deletes a Seller
Arguments
Name | Description |
---|---|
id | ID for the Seller instance |
destroySellerVariant
Type: SellerVariant
Deletes a Seller variant
Arguments
Name | Description |
---|---|
id | ID for the Seller variant instance |
destroySurcharge
Type: Surcharge
Deletes a Surcharge
Arguments
Name | Description |
---|---|
id | ID for the Surcharge instance |
destroyTaxRate
Type: TaxRate
Deletes a Tax rate
Arguments
Name | Description |
---|---|
id | ID for the Tax rate instance |
destroyUser
Type: User
Deletes a User
Arguments
Name | Description |
---|---|
id | ID for the User instance |
destroyVariant
Type: Variant
Deletes a Variant
Arguments
Name | Description |
---|---|
id | ID for the Variant instance |
forgotPassword
Type: Success
Arguments
Name | Description |
---|---|
email |
fulfillment
Type: Fulfillment
Creates a new Fulfillment instance
Arguments
Name | Description |
---|---|
orderId | |
externalId |
fulfillmentItem
Type: FulfillmentItem
Creates a new Fulfillment item instance
Arguments
Name | Description |
---|---|
fulfillmentId | |
orderItemId | |
externalId |
login
Type: User
Arguments
Name | Description |
---|---|
email | |
password |
manualItem
Type: ManualItem
Creates a new Manual item instance
Arguments
Name | Description |
---|---|
sellerId | |
consignmentId | |
paymentId | |
name | |
value | |
valueBase |
order
Type: Order
Creates a new Order instance
Arguments
Name | Description |
---|---|
channelId | |
externalId | |
reference | |
orderedAt | |
cancelledAt | |
closedAt | |
currency | |
email | |
phone | |
financialStatus | |
fulfillmentStatus | |
taxesIncluded | |
shippingAddressCompany | |
shippingAddressFirstName | |
shippingAddressLastName | |
shippingAddressAddressOne | |
shippingAddressAddressTwo | |
shippingAddressPhone | |
shippingAddressCity | |
shippingAddressState | |
shippingAddressZip | |
shippingAddressCountry | |
billingAddressCompany | |
billingAddressFirstName | |
billingAddressLastName | |
billingAddressAddressOne | |
billingAddressAddressTwo | |
billingAddressPhone | |
billingAddressCity | |
billingAddressState | |
billingAddressZip | |
billingAddressCountry |
orderItem
Type: OrderItem
Creates a new Order item instance
Arguments
Name | Description |
---|---|
variantId | |
orderId | |
externalId | |
externalVariantId | |
quantity | |
price | |
totalDiscount | |
subtotal | |
title | |
name |
payment
Type: Payment
Creates a new Payment instance
Arguments
Name | Description |
---|---|
sellerId | |
name | |
notes | |
amount | |
additional | |
tax |
product
Type: Product
Creates a new Product instance
Arguments
Name | Description |
---|---|
externalId | |
handle | |
title | |
vendor | |
productType | |
tags | |
images | |
status |
resetPassword
Type: User
Arguments
Name | Description |
---|---|
password | |
resetToken |
seller
Type: Seller
Creates a new Seller instance
Arguments
Name | Description |
---|---|
taxRateId | |
name | |
firstName | |
lastName | |
addressOne | |
addressTwo | |
city | |
state | |
zip | |
country | |
phone | |
tags | |
vendors | |
productTypes | |
discountHandling | |
commissionType | |
commission | |
notes | |
iso | |
manualExchangeRate | |
exchangeRate |
sellerVariant
Type: SellerVariant
Creates a new Seller variant instance
Arguments
Name | Description |
---|---|
variantId | |
sellerId | |
sku |
surcharge
Type: Surcharge
Creates a new Surcharge instance
Arguments
Name | Description |
---|---|
applyTo | |
name | |
value | |
tags | |
productTypes |
taxRate
Type: TaxRate
Creates a new Tax rate instance
Arguments
Name | Description |
---|---|
name | |
isDefault | |
multiple | |
stateTaxName | |
stateTaxValue | |
districtTaxName | |
countyTaxName |
updateChannel
Type: Channel
Updates an existing Channel instance
Arguments
Name | Description |
---|---|
id | ID for the Channel instance |
name | |
storeUrl | |
fullStoreUrl | |
enabled | |
accessToken | |
setupStatus | |
processTags |
updateCommissionOverride
Type: CommissionOverride
Updates an existing Commission override instance
Arguments
Name | Description |
---|---|
id | ID for the Commission override instance |
commissionType | |
name | |
commission | |
tags | |
productTypes |
updateConsignment
Type: Consignment
Updates an existing Consignment instance
Arguments
Name | Description |
---|---|
id | ID for the Consignment instance |
sellerId | |
orderId |
updateConsignmentItem
Type: ConsignmentItem
Updates an existing Consignment item instance
Arguments
Name | Description |
---|---|
id | ID for the Consignment item instance |
consignmentId | |
orderItemId | |
paymentId | |
quantity | |
due | |
dueBase | |
exchangeRate | |
taxBase | |
tax | |
taxRate | |
isPaid |
updateConsignmentItemSurcharge
Type: ConsignmentItemSurcharge
Updates an existing Consignment item surcharge instance
Arguments
Name | Description |
---|---|
id | ID for the Consignment item surcharge instance |
surchargeId | |
consignmentItemId | |
paymentId | |
value |
updateFulfillment
Type: Fulfillment
Updates an existing Fulfillment instance
Arguments
Name | Description |
---|---|
id | ID for the Fulfillment instance |
orderId | |
externalId |
updateFulfillmentItem
Type: FulfillmentItem
Updates an existing Fulfillment item instance
Arguments
Name | Description |
---|---|
id | ID for the Fulfillment item instance |
fulfillmentId | |
orderItemId | |
externalId |
updateManualItem
Type: ManualItem
Updates an existing Manual item instance
Arguments
Name | Description |
---|---|
id | ID for the Manual item instance |
sellerId | |
consignmentId | |
paymentId | |
name | |
value | |
valueBase |
updateOrder
Type: Order
Updates an existing Order instance
Arguments
Name | Description |
---|---|
id | ID for the Order instance |
channelId | |
externalId | |
reference | |
orderedAt | |
cancelledAt | |
closedAt | |
currency | |
email | |
phone | |
financialStatus | |
fulfillmentStatus | |
taxesIncluded | |
shippingAddressCompany | |
shippingAddressFirstName | |
shippingAddressLastName | |
shippingAddressAddressOne | |
shippingAddressAddressTwo | |
shippingAddressPhone | |
shippingAddressCity | |
shippingAddressState | |
shippingAddressZip | |
shippingAddressCountry | |
billingAddressCompany | |
billingAddressFirstName | |
billingAddressLastName | |
billingAddressAddressOne | |
billingAddressAddressTwo | |
billingAddressPhone | |
billingAddressCity | |
billingAddressState | |
billingAddressZip | |
billingAddressCountry |
updateOrderItem
Type: OrderItem
Updates an existing Order item instance
Arguments
Name | Description |
---|---|
id | ID for the Order item instance |
variantId | |
orderId | |
externalId | |
externalVariantId | |
quantity | |
price | |
totalDiscount | |
subtotal | |
title | |
name |
updatePayment
Type: Payment
Updates an existing Payment instance
Arguments
Name | Description |
---|---|
id | ID for the Payment instance |
sellerId | |
name | |
notes | |
amount | |
additional | |
tax |
updateProduct
Type: Product
Updates an existing Product instance
Arguments
Name | Description |
---|---|
id | ID for the Product instance |
externalId | |
handle | |
title | |
vendor | |
productType | |
tags | |
images | |
status |
updateSeller
Type: Seller
Updates an existing Seller instance
Arguments
Name | Description |
---|---|
id | ID for the Seller instance |
taxRateId | |
name | |
firstName | |
lastName | |
addressOne | |
addressTwo | |
city | |
state | |
zip | |
country | |
phone | |
tags | |
vendors | |
productTypes | |
discountHandling | |
commissionType | |
commission | |
notes | |
iso | |
manualExchangeRate | |
exchangeRate |
updateSellerVariant
Type: SellerVariant
Updates an existing Seller variant instance
Arguments
Name | Description |
---|---|
id | ID for the Seller variant instance |
variantId | |
sellerId | |
sku |
updateSurcharge
Type: Surcharge
Updates an existing Surcharge instance
Arguments
Name | Description |
---|---|
id | ID for the Surcharge instance |
applyTo | |
name | |
value | |
tags | |
productTypes |
updateTaxRate
Type: TaxRate
Updates an existing Tax rate instance
Arguments
Name | Description |
---|---|
id | ID for the Tax rate instance |
name | |
isDefault | |
multiple | |
stateTaxName | |
stateTaxValue | |
districtTaxName | |
countyTaxName |
updateTenant
Type: Tenant
Updates an existing Tenant instance
Arguments
Name | Description |
---|---|
id | ID for the Tenant instance |
name | |
logo | |
plan | |
subscriptionId | |
subscriptionStatus | |
iso | |
addressOne | |
addressTwo | |
city | |
state | |
zip | |
country | |
phone | |
paymentNotes | |
consignmentNotes | |
trialDays | |
trialEnds | |
trialDaysRemaining |
updateUser
Type: User
Updates an existing User instance
Arguments
Name | Description |
---|---|
id | ID for the User instance |
sellerId | |
hash | |
email | |
password | |
token | |
resetToken | |
active | |
orderNotifications | |
paymentNotifications | |
scope | |
locale |
updateVariant
Type: Variant
Updates an existing Variant instance
Arguments
Name | Description |
---|---|
id | ID for the Variant instance |
productId | |
sku | |
externalId | |
title | |
price | |
compareAtPrice | |
costPrice | |
inventoryQuantity | |
inventoryPolicy | |
inventoryManagement | |
taxable | |
barcode | |
image | |
options |
user
Type: User
Creates a new User instance
Arguments
Name | Description |
---|---|
sellerId | |
hash | |
email | |
password | |
token | |
resetToken | |
active | |
orderNotifications | |
paymentNotifications | |
scope | |
locale |
variant
Type: Variant
Creates a new Variant instance
Arguments
Name | Description |
---|---|
productId | |
sku | |
externalId | |
title | |
price | |
compareAtPrice | |
costPrice | |
inventoryQuantity | |
inventoryPolicy | |
inventoryManagement | |
taxable | |
barcode | |
image | |
options |