For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Dev Portal
DocsAPI ReferenceLearnCommunityChangelog
DocsAPI ReferenceLearnCommunityChangelog
    • About Our APIs
  • REST
    • Overview
  • GraphQL
    • Overview
      • Playground
          • MUTproductUpload
          • MUTproductAnonUpload
          • MUTupdateAccountSettings
          • MUTupdateCustomerAccountSettings
          • MUTinvoicePdf
          • MUTinvoicesExport
          • MUTinvoiceCreateBcCart
          • MUTinvoiceFinishBcPayment
          • MUTcreateOrder
          • MUTshoppingListsCreate
          • MUTshoppingListsUpdate
          • MUTshoppingListsDelete
          • MUTshoppingListsDuplicate
          • MUTshoppingListsItemsCreate
          • MUTshoppingListsItemsUpdate
          • MUTshoppingListsItemsDelete
          • MUTcustomerShoppingListsCreate
          • MUTcustomerShoppingListsUpdate
          • MUTcustomerShoppingListsDelete
          • MUTcustomerShoppingListsDuplicate
          • MUTcustomerShoppingListsItemsCreate
          • MUTcustomerShoppingListsItemsUpdate
          • MUTcustomerShoppingListsItemsDelete
          • MUTquoteCreate
          • MUTquoteUpdate
          • MUTquoteCheckout
          • MUTquoteOrdered
          • MUTquoteEmail
          • MUTquotePdfExport
          • MUTquoteAttachFileDelete
          • MUTquoteAttachFileCreate
          • MUTquoteFrontendPdf
          • MUTsuperAdminBeginMasquerade
          • MUTsuperAdminEndMasquerade
          • MUTcompanyCreate
          • MUTlogin
          • MUTcheckoutLogin
          • MUTauthorization
          • MUTuserCreate
          • MUTuserUpdate
          • MUTuserDelete
          • MUTstoreFrontToken
          • MUTcustomerCreate
          • MUTcustomerSubscribersCreate
          • MUTuserMasqueradingCompanyBegin
          • MUTuserMasqueradingCompanyEnd
          • MUTaddressCreate
          • MUTaddressUpdate
          • MUTaddressDelete
          • MUTcustomerAddressCreate
          • MUTcustomerAddressUpdate
          • MUTcustomerAddressDelete
  • MCP
    • Overview
Dev Portal
LogoLogo
GraphQLB2BMutations

customerSubscribersCreate

Example Query
1mutation ExampleMutation($subscribersData: CustomerSubscribersInputType) {
2 customerSubscribersCreate(subscribersData: $subscribersData) {
3 customerSubscribers {
4 email
5 firstName
6 lastName
7 source
8 orderId
9 channelId
10 id
11 dateCreated
12 dateModified
13 consents
14 }
15 }
16}
Variables
1{
2 "subscribersData": {
3 "storeHash": "example",
4 "email": "example",
5 "firstName": "example",
6 "lastName": "example",
7 "source": "example",
8 "orderId": 0,
9 "channelId": 0
10 }
11}
Example response
1{
2 "data": {
3 "customerSubscribersCreate": {
4 "customerSubscribers": {
5 "email": "example",
6 "firstName": "example",
7 "lastName": "example",
8 "source": "example",
9 "orderId": 0,
10 "channelId": 0,
11 "id": 0,
12 "dateCreated": "example",
13 "dateModified": "example",
14 "consents": [
15 "example"
16 ]
17 }
18 }
19 }
20}
Create a new Bigcommerce customer subscriber
Was this page helpful?
Previous

customerCreate

Next

userMasqueradingCompanyBegin

Built with

Arguments

subscribersDataCustomerSubscribersInputTypeRequired
An object with customer subscribers data. This field is required.

Returns

an optional CustomerSubscribersCreate
customerSubscribersCustomerSubscribersType