younifyd
Menu

Register Tenant

Register Tenant

PUT/tenants/{tenantId}

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Register Tenant action (under Auth Admin).
  3. Fill in the fields below, then reference the result from later steps as {{registerTenant.response.data}}.

Request

Path parameters

tenantIdstringrequired

Request body

Enter the body as JSON in the step's Body field.

tenantIdstringrequired
merchantNamestringrequired

Name of the merchant.

descriptionstringrequired
contactstringrequired
emailAddressstringrequired

Email address of the designated contact.

phoneNostringrequired

Phone number of the designated contact.

json
{
  "tenantId": "aaaa_prd",
  "merchantName": "Merchant Name",
  "description": "Additional information about the tenant.",
  "contact": "Name of the merchant's designated contact.",
  "emailAddress": "joe.shopper@foo.org",
  "phoneNo": "+1 000-000-0000"
}

Response

Returns 200 with an object. Read it in later steps with {{registerTenant.response.data.<field>}}.

tenantIdstring
merchantIdinteger
descriptionstring
contactstring
emailAddressstring
phoneNostring
isDeletedboolean
statusstring
tierstring

This read only value relates to the B2C Comerce realm of the customer. - XS = Bronze and Bronze+ - S = Silver and Silver+ - M = Gold and Gold+ - L = Platinum and Platinum+

One ofXSSML

requestQuotaPerMinutenumber

This read only value shows the the number of requests that can be made per minute.

json
{
  "tenantId": "aaaa_prd",
  "merchantId": 1,
  "description": "SLAS Merchant Name",
  "contact": "SLAS Tenant Contact",
  "emailAddress": "tenant_contact@slas.tst",
  "phoneNo": "000-000-0000",
  "isDeleted": false,
  "status": "CLEAR",
  "tier": "L",
  "requestQuotaPerMinute": 8000
}

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.