Skip to main content

customer create

Create a new customer in your application and associate a customer to a channel. Customer information returned on success.


replicated customer create [Flags]
FlagType (if applicable)Description
--namestringThe name of the customer. (Required)
--channelstringThe channel name to associate with the customer. Case-sensitive. (Required)
--ensure-channelIf set, channel is created if it does not exist.
--expires-indurationIf set, license will expire a specified number of units from the current time. For example, 2h or 1h60m or 120m are all the same duration.
--custom-idstringIf set, this custom alphanumeric ID is associated with this customer to more easily tie this record to your external data systems (i.e. Salesforce, Hubspot, etc.)
-h, --helpHelp for the command.
--appstringThe app slug or app ID to use in all calls. The default uses the $REPLICATED_APP environment variable.
--tokenstringThe API token used to access your application in the Vendor API. The default uses the $REPLICATED_API_TOKEN environment variable.


replicated customer create --channel Megacorp_Beta --name "Megacorp" --ensure-channel --expires-in "8760h" --custom-id "salesforceid-123"
ID                                  NAME        CHANNELS         EXPIRES                          TYPE    CUSTOM_ID
2u4KGXSY65SAUW0ltG_pPhxBGPJ4XNSS Megacorp Megacorp_Beta 2021-01-20 00:17:38 +0000 UTC dev salesforceid-123