DocumentationTypesInterfaces

Sales Channel

amerta


amerta / payload-types / SalesChannel

Interface: SalesChannel

Defined in: payload-types.ts:1255

This interface was referenced by Config's JSON-Schema via the definition "sales-channel".

Properties

createdAt

createdAt: string

Defined in: payload-types.ts:1273


currencies

currencies: { currency?: string | Currency | null; exchangeRate?: number | null; id?: string | null; isDefault?: boolean | null; }[]

Defined in: payload-types.ts:1259

currency?

optional currency: string | Currency | null

exchangeRate?

optional exchangeRate: number | null

Exchange rate relative to USD (Important), it will automatically convert the price in the frontend. E.g., 1 USD = 0.85 EUR, so for EUR enter 0.85, for USD enter 1, for AED enter 3.67 etc...

id?

optional id: string | null

isDefault?

optional isDefault: boolean | null


description?

optional description: string | null

Defined in: payload-types.ts:1268


enabled

enabled: "0" | "1"

Defined in: payload-types.ts:1258


id

id: string

Defined in: payload-types.ts:1256


isDefault?

optional isDefault: boolean | null

Defined in: payload-types.ts:1272

Only one sales channel can be marked as default


name

name: string

Defined in: payload-types.ts:1257


updatedAt

updatedAt: string

Defined in: payload-types.ts:1274