Company
The Company object
Unique identifier for the object.
The ID of the merchant this Company belongs to, that is your own merchant.
Has the value "live" if the object exists in live mode, or "sand" if it exists in test mode.
Possible values: [sand, live]
A unique 6-character code that can be used to join or reference this Company.
Possible values: >= 6 characters and <= 6 characters
The ID of the Company in your own system. Unique among your Companies, so a Payment can find the Company by it.
Possible values: <= 100 characters
Company name.
prepaidPolicy object
The prepaid policy applied to the Customers of this Company.
Indicates whether the prepaid policy is currently active.
The maximum amount, in cents, that the Customer is allowed to spend in a single Date under this policy.
Whether the Company hides its prices from its employees. Only with an active policy, which then pays the whole order.
The packaging used by the Customers of this Company that do not set one of their own. Null when the Company follows the ecommerce site default.
Possible values: [Reusable, Disposable]
addresses object[]nullable
An array of delivery addresses associated with this Company. Each address can have specific delivery fees and store information.
Unique identifier for the address.
A friendly label or name for this address (e.g., "Main Office", "Warehouse").
The street name of the address.
The street number of the address.
The city of the address.
The province or state of the address.
The postal or ZIP code of the address.
The country code of the address (e.g., "IT" for Italy).
The delivery fee amount for this address, in cents.
The unique identifier of the store associated with this address.
The fields of the Company, as you set them. A key the merchant declared in the Dashboard has the type declared there, any other key is text, and segments can filter Customers by the fields of their Company.
{"b2b":"true"}{
"id": "string",
"merchantId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"tenant": "sand",
"joinCode": "string",
"referenceId": "string",
"name": "string",
"prepaidPolicy": {
"isActive": true,
"amount": 0,
"hidesPrices": true
},
"packagingType": "Reusable",
"addresses": [
{
"id": "string",
"label": "string",
"streetName": "string",
"streetNumber": "string",
"city": "string",
"province": "string",
"postalCode": "string",
"country": "string",
"deliveryFeeAmount": 0,
"storeId": "string"
}
],
"metadata": {
"b2b": "true"
}
}