# Mutations

- [activateSubscription](/graphql-api/api-reference/mutations/activate-subscription.md): Activates an inactive subscription.
- [applyPromotionToSubscription](/graphql-api/api-reference/mutations/apply-promotion-to-subscription.md): Applies a promotion to a subscription.
- [assignAsset](/graphql-api/api-reference/mutations/assign-asset.md): Assign asset to a subscription.
- [cancelReturnOrder](/graphql-api/api-reference/mutations/cancel-return-order.md): Cancels an 'in progress' return order.
- [cancelSubscription](/graphql-api/api-reference/mutations/cancel-subscription.md): Cancels a subscription or initiates cancellation when two-step cancellation is enabled on your project.
- [completeReturnOrder](/graphql-api/api-reference/mutations/complete-return-order.md): Completes an 'in progress' return order.
- [completeSubscriptionCancellation](/graphql-api/api-reference/mutations/complete-subscription-cancellation.md): Completes the subscription cancellation process (only available when two-step cancellation is enabled on your project).
- [createAsset](/graphql-api/api-reference/mutations/create-asset.md): Creates an asset for a product, optionally assigns it to a subscription.
- [createCart](/graphql-api/api-reference/mutations/create-cart.md): Creates an empty draft/cart subscription.
- [createDiscountCode](/graphql-api/api-reference/mutations/create-discount-code.md): Creates a discount code
- [createInvoiceLineItem](/graphql-api/api-reference/mutations/create-invoice-line-item.md): Creates an invoice line item for an invoice.
- [createInvoicedOneTimeCharge](/graphql-api/api-reference/mutations/create-invoiced-one-time-charge.md): Immediately charges and invoices the given amount
- [createOrder](/graphql-api/api-reference/mutations/create-order.md): Deprecated: The behavior of this mutation will be changed significantly soon.
- [createOrderedProduct](/graphql-api/api-reference/mutations/create-ordered-product.md): Deprecated: Use CreateOrderedProductV2 instead.
- [createOrderedProductV2](/graphql-api/api-reference/mutations/create-ordered-product-v-2.md): Creates an ordered product on subscription identified via \`X-Subscription-Token\` or \`X-Project-Access-Token\`.
- [createProduct](/graphql-api/api-reference/mutations/create-product.md): Creates a product.
- [createPromotion](/graphql-api/api-reference/mutations/create-promotion.md): Creates a promotion.
- [createReturnOrder](/graphql-api/api-reference/mutations/create-return-order.md): Creates a return order for the subscription.
- [createSelfServiceCenterLoginToken](/graphql-api/api-reference/mutations/create-self-service-center-login-token.md): Deprecated: This mutation is deprecated. If you would like to send an email with a link to the self service center, please use the \`sendSelfServiceCenterLoginTokenEmail\` mutation. If you need to creat
- [createSelfServiceCenterLoginTokenV2](/graphql-api/api-reference/mutations/create-self-service-center-login-token-v-2.md): Creates and returns a SelfServiceCenterLoginToken.
- [createServiceChannel](/graphql-api/api-reference/mutations/create-service-channel.md): Creates a service channel.
- [createSubscription](/graphql-api/api-reference/mutations/create-subscription.md): Creates a new subscription and returns payment redirection URLs.
- [createSubscriptionFromCart](/graphql-api/api-reference/mutations/create-subscription-from-cart.md): Finalises a subscription and returns payment details based on a cart/draft subscription identified by \`X-Subscription-Token\`.
- [creditAndRefundInvoice](/graphql-api/api-reference/mutations/credit-and-refund-invoice.md): Immediately creates a credit invoice and a tries to create a refund for the full amount of the original invoice
- [deactivateAppliedPromotion](/graphql-api/api-reference/mutations/deactivate-applied-promotion.md): Deactivates an applied promotion.
- [destroyInvoiceLineItem](/graphql-api/api-reference/mutations/destroy-invoice-line-item.md): Destroys an invoice line item.
- [destroyOrderedProduct](/graphql-api/api-reference/mutations/destroy-ordered-product.md): Deletes an ordered product from the subscription identified via \`X-Subscription-Token\` or when authenticated through a project write token.
- [editPlan](/graphql-api/api-reference/mutations/edit-plan.md): Edits a plan.
- [fulfillOrder](/graphql-api/api-reference/mutations/fulfill-order.md): Marks an order as fulfilled. If Track\&Trace code is given in will also trigger Track\&Trace email.
- [fulfillOrders](/graphql-api/api-reference/mutations/fulfill-orders.md): Option to mark multiple orders as fulfilled at once, up to a maximum of 100 orders each time.
- [generateOfferForAssetOwnership](/graphql-api/api-reference/mutations/generate-offer-for-asset-ownership.md): Generates an asset purchase offer for the specified asset ownership.
- [importSubscription](/graphql-api/api-reference/mutations/import-subscription.md): Creates a subscription directly into the database without the need for a customer to signup, only use this when you're migrating from another platform.
- [pauseSubscription](/graphql-api/api-reference/mutations/pause-subscription.md): Pauses a subscription
- [refundPayment](/graphql-api/api-reference/mutations/refund-payment.md): Issues a refund for a payment. Some payment service providers may limit the maximum amount for or timeframe in which you can refund a payment.
- [resumeSubscription](/graphql-api/api-reference/mutations/resume-subscription.md): Resumes the subscription
- [sendSelfServiceCenterLoginTokenEmail](/graphql-api/api-reference/mutations/send-self-service-center-login-token-email.md): Creates a SelfServiceCenterLoginToken and sends an email to the customer's email address on file so they can log into their self service center.
- [shipOrderedProducts](/graphql-api/api-reference/mutations/ship-ordered-products.md): Immediately creates an order for the passed ordered products of the subscription. Any other ordered products of this subscription scheduled for today will also be shipped in the same order.
- [switchSubscriptionPlan](/graphql-api/api-reference/mutations/switch-subscription-plan.md): Initiates a plan switch offer for subscription.
- [syncShopifyProducts](/graphql-api/api-reference/mutations/sync-shopify-products.md): Syncs products from Shopify to Firmhouse.
- [unassignAsset](/graphql-api/api-reference/mutations/unassign-asset.md): Unassign asset from a subscription, this will mark the asset ownership as returned.
- [undoSubscriptionCancellation](/graphql-api/api-reference/mutations/undo-subscription-cancellation.md): Stops the subscription cancellation process (only available when two-step cancellation is enabled on your project).
- [updateAddressDetails](/graphql-api/api-reference/mutations/update-address-details.md): Updates certain information on the subscription identified via \`X-Subscription-Token\`
- [updateAppliedPromotion](/graphql-api/api-reference/mutations/update-applied-promotion.md): Updates a promotion applied to a Subscription
- [updateAsset](/graphql-api/api-reference/mutations/update-asset.md): Update an asset.
- [updateAssetOwnership](/graphql-api/api-reference/mutations/update-asset-ownership.md): Updates an asset ownership.
- [updateInvoice](/graphql-api/api-reference/mutations/update-invoice.md): Updates an invoice.
- [updateInvoiceLineItem](/graphql-api/api-reference/mutations/update-invoice-line-item.md): Updates an invoice line item.
- [updateOrder](/graphql-api/api-reference/mutations/update-order.md): Updates Order attributes. Only status, fulfilledAt timestamp, and trackingCode are allowed to be updated. Fulfillment process will not be triggered.
- [updateOrderedProduct](/graphql-api/api-reference/mutations/update-ordered-product.md): Updates the ordered product on a subscription identified via \`X-Subscription-Token\`.
- [updateOrderedProductQuantity](/graphql-api/api-reference/mutations/update-ordered-product-quantity.md): Updates an ordered product's quantity identified via \`X-Subscription-Token\`.
- [updatePlan](/graphql-api/api-reference/mutations/update-plan.md): Updates the active plan of the subscription identified via \`X-Subscription-Token\`.
- [updateProduct](/graphql-api/api-reference/mutations/update-product.md): Updates a product.
- [updatePromotion](/graphql-api/api-reference/mutations/update-promotion.md): Updates a promotion.
- [updateReturnOrder](/graphql-api/api-reference/mutations/update-return-order.md): Updates an 'in progress' return order.
- [updateShippingCostsExemption](/graphql-api/api-reference/mutations/update-shipping-costs-exemption.md): Updates the shipping costs exemption.
- [updateSubscribedPlan](/graphql-api/api-reference/mutations/update-subscribed-plan.md): Updates the subscribed plan.
- [updateSubscription](/graphql-api/api-reference/mutations/update-subscription.md): Updates a subscription.
