docs: general fixes to references (#5653)

* fixed typedoc plugin's escape strategy

* move props comments to the associated property

* regenerate references
This commit is contained in:
Shahed Nasser authored and GitHub committed 2023-11-17 19:36:58 +02:00
1 parent b3093c3e3d
commit c51dce164d
869 files changed
+15238 -7267

No files matched your search

@@ -31,8 +31,7 @@ export default function (theme: MarkdownTheme) {
(reflection.parent?.kindOf(ReflectionKind.Enum) ? " = " : ": ") + (reflection.parent?.kindOf(ReflectionKind.Enum) ? " = " : ": ") +
Handlebars.helpers.type.call( Handlebars.helpers.type.call(
reflectionType ? reflectionType : reflection, reflectionType ? reflectionType : reflection,
"object", "object"
false
) )
) )
} }
@@ -27,72 +27,73 @@ export type Collapse = "object" | "function" | "all" | "none"
export default function getType( export default function getType(
reflectionType: SomeType, reflectionType: SomeType,
collapse: Collapse = "none", collapse: Collapse = "none",
emphasis = true, wrapBackticks = true,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
if (reflectionType instanceof ReferenceType) { if (reflectionType instanceof ReferenceType) {
return getReferenceType(reflectionType, emphasis, hideLink) return getReferenceType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof ArrayType && reflectionType.elementType) { if (reflectionType instanceof ArrayType && reflectionType.elementType) {
return getArrayType(reflectionType, emphasis, hideLink) return getArrayType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof UnionType && reflectionType.types) { if (reflectionType instanceof UnionType && reflectionType.types) {
return getUnionType(reflectionType, emphasis, hideLink) return getUnionType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof IntersectionType && reflectionType.types) { if (reflectionType instanceof IntersectionType && reflectionType.types) {
return getIntersectionType(reflectionType, emphasis, hideLink) return getIntersectionType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof TupleType && reflectionType.elements) { if (reflectionType instanceof TupleType && reflectionType.elements) {
return getTupleType(reflectionType, emphasis, hideLink) return getTupleType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof IntrinsicType && reflectionType.name) { if (reflectionType instanceof IntrinsicType && reflectionType.name) {
return getIntrinsicType(reflectionType, emphasis) return getIntrinsicType(reflectionType, wrapBackticks, escape)
} }
if (reflectionType instanceof ReflectionType) { if (reflectionType instanceof ReflectionType) {
return getReflectionType( return getReflectionType(
reflectionType.declaration, reflectionType.declaration,
collapse, collapse,
emphasis, wrapBackticks,
hideLink hideLink
) )
} }
if (reflectionType instanceof DeclarationReflection) { if (reflectionType instanceof DeclarationReflection) {
return getReflectionType(reflectionType, collapse, emphasis, hideLink) return getReflectionType(reflectionType, collapse, wrapBackticks, hideLink)
} }
if (reflectionType instanceof TypeOperatorType) { if (reflectionType instanceof TypeOperatorType) {
return getTypeOperatorType(reflectionType, emphasis, hideLink) return getTypeOperatorType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof QueryType) { if (reflectionType instanceof QueryType) {
return getQueryType(reflectionType, emphasis, hideLink) return getQueryType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof ConditionalType) { if (reflectionType instanceof ConditionalType) {
return getConditionalType(reflectionType, emphasis, hideLink) return getConditionalType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof IndexedAccessType) { if (reflectionType instanceof IndexedAccessType) {
return getIndexAccessType(reflectionType, emphasis, hideLink) return getIndexAccessType(reflectionType, wrapBackticks, hideLink, escape)
} }
if (reflectionType instanceof UnknownType) { if (reflectionType instanceof UnknownType) {
return getUnknownType(reflectionType) return getUnknownType(reflectionType, escape)
} }
if (reflectionType instanceof InferredType) { if (reflectionType instanceof InferredType) {
return getInferredType(reflectionType) return getInferredType(reflectionType, escape)
} }
if (reflectionType instanceof LiteralType) { if (reflectionType instanceof LiteralType) {
return getLiteralType(reflectionType, emphasis) return getLiteralType(reflectionType, wrapBackticks, escape)
} }
return reflectionType ? escapeChars(reflectionType.toString()) : "" return reflectionType ? escapeChars(reflectionType.toString()) : ""
@@ -101,28 +102,37 @@ export default function getType(
export function getReflectionType( export function getReflectionType(
model: ReflectionParameterType, model: ReflectionParameterType,
collapse: Collapse, collapse: Collapse,
emphasis: boolean, wrapBackticks = true,
hideLink = false hideLink = false
): string { ): string {
if ("signatures" in model && model.signatures) { if ("signatures" in model && model.signatures) {
return collapse === "function" || collapse === "all" return collapse === "function" || collapse === "all"
? `${emphasis ? "`" : ""}fn${emphasis ? "`" : ""}` ? `${wrapBackticks ? "`" : ""}fn${wrapBackticks ? "`" : ""}`
: getFunctionType(model.signatures, emphasis, hideLink) : getFunctionType(
model.signatures,
wrapBackticks,
hideLink,
!wrapBackticks
)
} }
return collapse === "object" || collapse === "all" return collapse === "object" || collapse === "all"
? `${emphasis ? "`" : ""}object${emphasis ? "`" : ""}` ? `${wrapBackticks ? "`" : ""}object${wrapBackticks ? "`" : ""}`
: `${emphasis ? "`" : ""}${getDeclarationType( : `${wrapBackticks ? "`" : ""}${getDeclarationType(
model as DeclarationReflection, model as DeclarationReflection,
false, wrapBackticks,
hideLink hideLink,
)}${emphasis ? "`" : ""}` !wrapBackticks
)}${wrapBackticks ? "`" : ""}`
} }
export function getDeclarationType( export function getDeclarationType(
model: DeclarationReflection, model: DeclarationReflection,
emphasis: boolean, wrapBackticks = true,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
escape = getShouldEscape(wrapBackticks, escape)
if (model.indexSignature || model.children) { if (model.indexSignature || model.children) {
let indexSignature = "" let indexSignature = ""
const declarationIndexSignature = model.indexSignature const declarationIndexSignature = model.indexSignature
@@ -133,7 +143,13 @@ export function getDeclarationType(
) )
: "" : ""
const obj = declarationIndexSignature.type const obj = declarationIndexSignature.type
? getType(declarationIndexSignature.type, "none", false, hideLink) ? getType(
declarationIndexSignature.type,
"none",
false,
hideLink,
escape
)
: "" : ""
indexSignature = `${key}: ${obj}; ` indexSignature = `${key}: ${obj}; `
} }
@@ -142,73 +158,88 @@ export function getDeclarationType(
model.children.map((obj) => { model.children.map((obj) => {
return `${obj.name}${obj.flags.isOptional ? "?" : ""}: ${ return `${obj.name}${obj.flags.isOptional ? "?" : ""}: ${
obj.type obj.type
? getType(obj.type, "none", false, hideLink) ? getType(obj.type, "none", false, hideLink, escape)
: escapeChars(obj.toString()) : getFormattedStr(obj.toString(), false, escape)
} ${ } ${
obj.defaultValue && obj.defaultValue !== "..." obj.defaultValue && obj.defaultValue !== "..."
? `= ${escapeChars(`${obj.defaultValue}`)}` ? `= ${getFormattedStr(`${obj.defaultValue}`, false, escape)}`
: "" : ""
}` }`
}) })
return `${emphasis ? "`{" : getHTMLChar("{")} ${ return `${wrapBackticks ? "`{" : getHTMLChar("{")} ${
indexSignature ? indexSignature : "" indexSignature ? indexSignature : ""
}${types ? types.join("; ") : ""} ${emphasis ? "}`" : getHTMLChar("}")}${ }${types ? types.join("; ") : ""} ${
wrapBackticks ? "}`" : getHTMLChar("}")
}${
model.defaultValue && model.defaultValue !== "..." model.defaultValue && model.defaultValue !== "..."
? `= ${escapeChars(`${model.defaultValue}`)}` ? `= ${getFormattedStr(`${model.defaultValue}`, wrapBackticks, escape)}`
: "" : ""
}` }`
} }
return emphasis ? "`{}`" : escapeChars("{}") return getFormattedStr("{}", wrapBackticks, escape)
} }
export function getFunctionType( export function getFunctionType(
modelSignatures: SignatureReflection[], modelSignatures: SignatureReflection[],
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
escape = getShouldEscape(wrapBackticks, escape)
const functions = modelSignatures.map((fn) => { const functions = modelSignatures.map((fn) => {
const typeParams = fn.typeParameters const typeParams = fn.typeParameters
? `${emphasis ? "`<" : getHTMLChar("<")}${fn.typeParameters ? `${wrapBackticks ? "`<" : getHTMLChar("<")}${fn.typeParameters
.map((typeParameter) => typeParameter.name) .map((typeParameter) => typeParameter.name)
.join(", ")}${emphasis ? ">`" : getHTMLChar(">")}` .join(", ")}${wrapBackticks ? ">`" : getHTMLChar(">")}`
: [] : []
const params = fn.parameters const params = fn.parameters
? fn.parameters.map((param) => { ? fn.parameters.map((param) => {
return `${param.flags.isRest ? "..." : ""}${emphasis ? "`" : ""}${ return `${param.flags.isRest ? "..." : ""}${
param.name wrapBackticks ? "`" : ""
}${param.flags.isOptional ? "?" : ""}${emphasis ? "`" : ""}: ${ }${param.name}${param.flags.isOptional ? "?" : ""}${
wrapBackticks ? "`" : ""
}: ${
param.type param.type
? getType(param.type, "none", emphasis, hideLink) ? getType(param.type, "none", wrapBackticks, hideLink, escape)
: escapeChars(param.toString()) : getFormattedStr(param.toString(), wrapBackticks, escape)
}` }`
}) })
: [] : []
const returns = fn.type const returns = fn.type
? getType(fn.type, "none", emphasis, hideLink) ? getType(fn.type, "none", wrapBackticks, hideLink, escape)
: escapeChars(fn.toString()) : getFormattedStr(fn.toString(), wrapBackticks, escape)
return typeParams + `(${params.join(", ")}) => ${returns}` return typeParams + `(${params.join(", ")}) => ${returns}`
}) })
return functions.join("") return functions.join("")
} }
export function getLiteralType(model: LiteralType, emphasis: boolean): string { export function getLiteralType(
if (typeof model.value === "bigint") { model: LiteralType,
return `${emphasis ? "`" : ""}${model.value}n${emphasis ? "`" : ""}` wrapBackticks: boolean,
} escape?: boolean
return `${emphasis ? "`" : ""}\`${JSON.stringify(model.value)}\`${ ): string {
emphasis ? "`" : "" escape = getShouldEscape(wrapBackticks, escape)
}`
return getFormattedStr(
model.value === "bigint" ? model.value : JSON.stringify(model.value),
wrapBackticks,
escape
)
} }
export function getReferenceType( export function getReferenceType(
model: ReferenceType, model: ReferenceType,
emphasis: boolean, wrapBackticks = true,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
escape = getShouldEscape(wrapBackticks, escape)
const shouldShowLink = !hideLink && model.name !== "Record" const shouldShowLink = !hideLink && model.name !== "Record"
const wrappingBackticks = emphasis && !shouldShowLink const wrappedInBackticks = wrapBackticks && !shouldShowLink
if (model.reflection || (model.name && model.typeArguments)) { if (model.reflection || (model.name && model.typeArguments)) {
const reflection: string[] = [wrappingBackticks ? "`" : ""] const reflection: string[] = [wrappedInBackticks ? "`" : ""]
if (model.reflection?.url) { if (model.reflection?.url) {
reflection.push( reflection.push(
@@ -216,9 +247,7 @@ export function getReferenceType(
? `[${model.reflection.name}](${Handlebars.helpers.relativeURL( ? `[${model.reflection.name}](${Handlebars.helpers.relativeURL(
model.reflection.url model.reflection.url
)})` )})`
: emphasis : getFormattedStr(model.reflection.name, false, escape)
? model.reflection.name
: escapeChars(model.reflection.name)
) )
} else { } else {
reflection.push( reflection.push(
@@ -226,42 +255,45 @@ export function getReferenceType(
? model.externalUrl ? model.externalUrl
? `[${model.name}]( ${model.externalUrl} )` ? `[${model.name}]( ${model.externalUrl} )`
: model.name : model.name
: emphasis : getFormattedStr(model.name, false, escape)
? model.name
: escapeChars(model.name)
) )
} }
if (model.typeArguments && model.typeArguments.length > 0) { if (model.typeArguments && model.typeArguments.length > 0) {
reflection.push( reflection.push(
`${wrappingBackticks ? "<" : getHTMLChar("<")}${model.typeArguments `${wrappedInBackticks ? "<" : getHTMLChar("<")}${model.typeArguments
.map((typeArgument) => getType(typeArgument, "none", false, hideLink)) .map((typeArgument) =>
.join(", ")}${wrappingBackticks ? ">" : getHTMLChar(">")}` getType(typeArgument, "none", false, hideLink, false)
)
.join(", ")}${wrappedInBackticks ? ">" : getHTMLChar(">")}`
) )
} }
if (wrappingBackticks) { if (wrappedInBackticks) {
reflection.push("`") reflection.push("`")
} }
return reflection.join("") return reflection.join("")
} }
return shouldShowLink return shouldShowLink
? model.externalUrl ? model.externalUrl
? `[${emphasis ? `\`${model.name}\`` : escapeChars(model.name)}]( ${ ? `[${getFormattedStr(model.name, wrapBackticks, escape)}]( ${
model.externalUrl model.externalUrl
} )` } )`
: emphasis : getFormattedStr(model.name, wrapBackticks, escape)
? `\`${model.name}\`` : getFormattedStr(model.name, wrapBackticks, escape)
: escapeChars(model.name)
: emphasis
? `\`${model.name}\``
: escapeChars(model.name)
} }
export function getArrayType( export function getArrayType(
model: ArrayType, model: ArrayType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
const arrayType = getType(model.elementType, "none", emphasis, hideLink) const arrayType = getType(
model.elementType,
"none",
wrapBackticks,
hideLink,
escape
)
return model.elementType.type === "union" return model.elementType.type === "union"
? `(${arrayType})[]` ? `(${arrayType})[]`
: `${arrayType}[]` : `${arrayType}[]`
@@ -269,107 +301,132 @@ export function getArrayType(
export function getUnionType( export function getUnionType(
model: UnionType, model: UnionType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
return model.types return model.types
.map((unionType) => getType(unionType, "none", emphasis, hideLink)) .map((unionType) =>
getType(unionType, "none", wrapBackticks, hideLink, escape)
)
.join(` \\| `) .join(` \\| `)
} }
export function getIntersectionType( export function getIntersectionType(
model: IntersectionType, model: IntersectionType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
return model.types return model.types
.map((intersectionType) => .map((intersectionType) =>
getType(intersectionType, "none", emphasis, hideLink) getType(intersectionType, "none", wrapBackticks, hideLink, escape)
) )
.join(" & ") .join(" & ")
} }
export function getTupleType( export function getTupleType(
model: TupleType, model: TupleType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
return `[${model.elements return `[${model.elements
.map((element) => getType(element, "none", emphasis, hideLink)) .map((element) => getType(element, "none", wrapBackticks, hideLink, escape))
.join(", ")}]` .join(", ")}]`
} }
export function getIntrinsicType( export function getIntrinsicType(
model: IntrinsicType, model: IntrinsicType,
emphasis: boolean wrapBackticks: boolean,
escape?: boolean
): string { ): string {
return emphasis ? `\`${model.name}\`` : escapeChars(model.name) escape = getShouldEscape(wrapBackticks, escape)
return getFormattedStr(model.name, wrapBackticks, escape)
} }
export function getTypeOperatorType( export function getTypeOperatorType(
model: TypeOperatorType, model: TypeOperatorType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
return `${model.operator} ${getType( return `${model.operator} ${getType(
model.target, model.target,
"none", "none",
emphasis, wrapBackticks,
hideLink hideLink,
escape
)}` )}`
} }
export function getQueryType( export function getQueryType(
model: QueryType, model: QueryType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
return `typeof ${getType(model.queryType, "none", emphasis, hideLink)}` return `typeof ${getType(
model.queryType,
"none",
wrapBackticks,
hideLink,
escape
)}`
} }
export function getInferredType(model: InferredType): string { export function getInferredType(model: InferredType, escape?: boolean): string {
return `infer ${escapeChars(model.name)}` escape = getShouldEscape(false, escape)
return `infer ${getFormattedStr(model.name, false, escape)}`
} }
export function getUnknownType(model: UnknownType): string { export function getUnknownType(model: UnknownType, escape?: boolean): string {
return escapeChars(model.name) escape = getShouldEscape(false, escape)
return getFormattedStr(model.name, false, escape)
} }
export function getConditionalType( export function getConditionalType(
model: ConditionalType, model: ConditionalType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
const md: string[] = [] const md: string[] = []
if (model.checkType) { if (model.checkType) {
md.push(getType(model.checkType, "none", emphasis, hideLink)) md.push(getType(model.checkType, "none", wrapBackticks, hideLink, escape))
} }
md.push("extends") md.push("extends")
if (model.extendsType) { if (model.extendsType) {
md.push(getType(model.extendsType, "none", emphasis, hideLink)) md.push(getType(model.extendsType, "none", wrapBackticks, hideLink, escape))
} }
md.push("?") md.push("?")
if (model.trueType) { if (model.trueType) {
md.push(getType(model.trueType, "none", emphasis, hideLink)) md.push(getType(model.trueType, "none", wrapBackticks, hideLink, escape))
} }
md.push(":") md.push(":")
if (model.falseType) { if (model.falseType) {
md.push(getType(model.falseType, "none", emphasis, hideLink)) md.push(getType(model.falseType, "none", wrapBackticks, hideLink, escape))
} }
return md.join(" ") return md.join(" ")
} }
export function getIndexAccessType( export function getIndexAccessType(
model: IndexedAccessType, model: IndexedAccessType,
emphasis: boolean, wrapBackticks: boolean,
hideLink = false hideLink = false,
escape?: boolean
): string { ): string {
const md: string[] = [] const md: string[] = []
if (model.objectType) { if (model.objectType) {
md.push(getType(model.objectType, "none", emphasis, hideLink)) md.push(getType(model.objectType, "none", wrapBackticks, hideLink, escape))
} }
if (model.indexType) { if (model.indexType) {
md.push(`[${getType(model.indexType, "none", false, hideLink)}]`) md.push(
`[${getType(model.indexType, "none", wrapBackticks, hideLink, escape)}]`
)
} }
return md.join("") return md.join("")
} }
@@ -380,3 +437,15 @@ export function hasTypes(parameters: TypeParameterReflection[]) {
) )
return !types.every((value) => !value) return !types.every((value) => !value)
} }
function getShouldEscape(wrapBackticks: boolean, escape?: boolean) {
return escape === undefined ? !wrapBackticks : escape
}
function getFormattedStr(
str: string,
wrapBackticks: boolean,
escape?: boolean
) {
return wrapBackticks ? `\`${str}\`` : escape ? escapeChars(str) : str
}
+6 -3
View File
@@ -24,12 +24,15 @@ export interface Config {
* @interface * @interface
* *
* Options to pass to requests sent to custom API Routes * Options to pass to requests sent to custom API Routes
*
* @prop timeout - The number of milliseconds before the request times out.
* @prop numberOfRetries - The number of times to retry a request before failing.
*/ */
export interface RequestOptions { export interface RequestOptions {
/**
* The number of milliseconds before the request times out.
*/
timeout?: number timeout?: number
/**
* The number of times to retry a request before failing.
*/
numberOfRetries?: number numberOfRetries?: number
} }
+14 -5
View File
@@ -142,12 +142,21 @@ export type RequestQueryFields = {
* @interface * @interface
* *
* Pagination fields returned in the response of an API route. * Pagination fields returned in the response of an API route.
*
* @prop limit - The maximum number of items that can be returned in the list.
* @prop offset - The number of items skipped before the returned items in the list.
* @prop count - The total number of items available.
*/ */
export type PaginatedResponse = { limit: number; offset: number; count: number } export type PaginatedResponse = {
/**
* The maximum number of items that can be returned in the list.
*/
limit: number
/**
* The number of items skipped before the returned items in the list.
*/
offset: number
/**
* The total number of items available.
*/
count: number
}
/** /**
* @interface * @interface
+20 -10
View File
@@ -45,23 +45,33 @@ export type Writable<T> = {
* *
* An object that is used to configure how an entity is retrieved from the database. It accepts as a typed parameter an `Entity` class, * An object that is used to configure how an entity is retrieved from the database. It accepts as a typed parameter an `Entity` class,
* which provides correct typing of field names in its properties. * which provides correct typing of field names in its properties.
*
* @prop select - An array of strings, each being attribute names of the entity to retrieve in the result.
* @prop skip - A number indicating the number of records to skip before retrieving the results.
* @prop take - A number indicating the number of records to return in the result.
* @prop relations - An array of strings, each being relation names of the entity to retrieve in the result.
* @prop order -
* An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`
* to sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.
* @prop withDeleted - A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the
* `SoftDeletableEntity` class.
*/ */
export interface FindConfig<Entity> { export interface FindConfig<Entity> {
/**
* An array of strings, each being attribute names of the entity to retrieve in the result.
*/
select?: (keyof Entity | string)[] select?: (keyof Entity | string)[]
/**
* A number indicating the number of records to skip before retrieving the results.
*/
skip?: number skip?: number
/**
* A number indicating the number of records to return in the result.
*/
take?: number take?: number
/**
* An array of strings, each being relation names of the entity to retrieve in the result.
*/
relations?: string[] relations?: string[]
/**
* An object used to specify how to sort the returned records. Its keys are the names of attributes of the entity, and a key's value can either be `ASC`
* to sort retrieved records in an ascending order, or `DESC` to sort retrieved records in a descending order.
*/
order?: { [K: string]: "ASC" | "DESC" } order?: { [K: string]: "ASC" | "DESC" }
/**
* A boolean indicating whether deleted records should also be retrieved as part of the result. This only works if the entity extends the
* `SoftDeletableEntity` class.
*/
withDeleted?: boolean withDeleted?: boolean
} }
+6 -3
View File
@@ -6,12 +6,15 @@ export { FilterQuery } from "./utils"
* @interface * @interface
* *
* An object used to allow specifying flexible queries with and/or conditions. * An object used to allow specifying flexible queries with and/or conditions.
*
* @prop $and - An array of filters to apply on the entity, where each item in the array is joined with an "and" condition.
* @prop $or - An array of filters to apply on the entity, where each item in the array is joined with an "or" condition.
*/ */
export interface BaseFilterable<T> { export interface BaseFilterable<T> {
/**
* An array of filters to apply on the entity, where each item in the array is joined with an "and" condition.
*/
$and?: (T | BaseFilterable<T>)[] $and?: (T | BaseFilterable<T>)[]
/**
* An array of filters to apply on the entity, where each item in the array is joined with an "or" condition.
*/
$or?: (T | BaseFilterable<T>)[] $or?: (T | BaseFilterable<T>)[]
} }
+6 -4
View File
@@ -83,10 +83,11 @@ export interface TreeRepositoryService<T = any>
* @interface * @interface
* *
* An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted. * An object that is used to specify an entity's related entities that should be soft-deleted when the main entity is soft-deleted.
*
* @prop returnLinkableKeys - An array of strings, each being the ID attribute names of the entity's relations.
*/ */
export type SoftDeleteReturn<TReturnableLinkableKeys = string> = { export type SoftDeleteReturn<TReturnableLinkableKeys = string> = {
/**
* An array of strings, each being the ID attribute names of the entity's relations.
*/
returnLinkableKeys?: TReturnableLinkableKeys[] returnLinkableKeys?: TReturnableLinkableKeys[]
} }
@@ -94,9 +95,10 @@ export type SoftDeleteReturn<TReturnableLinkableKeys = string> = {
* @interface * @interface
* *
* An object that is used to specify an entity's related entities that should be restored when the main entity is restored. * An object that is used to specify an entity's related entities that should be restored when the main entity is restored.
*
* @prop returnLinkableKeys - An array of strings, each being the ID attribute names of the entity's relations.
*/ */
export type RestoreReturn<TReturnableLinkableKeys = string> = { export type RestoreReturn<TReturnableLinkableKeys = string> = {
/**
* An array of strings, each being the ID attribute names of the entity's relations.
*/
returnLinkableKeys?: TReturnableLinkableKeys[] returnLinkableKeys?: TReturnableLinkableKeys[]
} }
+162 -63
View File
@@ -206,16 +206,11 @@ export type InventoryLevelDTO = {
* @interface * @interface
* *
* The filters to apply on retrieved reservation items. * The filters to apply on retrieved reservation items.
*
* @prop id - The IDs to filter reservation items by.
* @prop line_item_id - Filter reservation items by the ID of their associated line item.
* @prop inventory_item_id - Filter reservation items by the ID of their associated inventory item.
* @prop location_id - Filter reservation items by the ID of their associated location.
* @prop description - Description filters to apply on the reservation items' `description` attribute.
* @prop created_by - The "created by" values to filter reservation items by.
* @prop quantity - Filters to apply on the reservation items' `quantity` attribute.
*/ */
export type FilterableReservationItemProps = { export type FilterableReservationItemProps = {
/**
* The IDs to filter reservation items by.
*/
id?: string | string[] id?: string | string[]
/** /**
* @ignore * @ignore
@@ -224,11 +219,29 @@ export type FilterableReservationItemProps = {
* This property is not used. * This property is not used.
*/ */
type?: string | string[] type?: string | string[]
/**
* Filter reservation items by the ID of their associated line item.
*/
line_item_id?: string | string[] line_item_id?: string | string[]
/**
* Filter reservation items by the ID of their associated inventory item.
*/
inventory_item_id?: string | string[] inventory_item_id?: string | string[]
/**
* Filter reservation items by the ID of their associated location.
*/
location_id?: string | string[] location_id?: string | string[]
/**
* Description filters to apply on the reservation items' `description` attribute.
*/
description?: string | StringComparisonOperator description?: string | StringComparisonOperator
/**
* The "created by" values to filter reservation items by.
*/
created_by?: string | string[] created_by?: string | string[]
/**
* Filters to apply on the reservation items' `quantity` attribute.
*/
quantity?: number | NumericalComparisonOperator quantity?: number | NumericalComparisonOperator
} }
@@ -236,22 +249,35 @@ export type FilterableReservationItemProps = {
* @interface * @interface
* *
* The filters to apply on retrieved inventory items. * The filters to apply on retrieved inventory items.
*
* @prop id - The IDs to filter inventory items by.
* @prop location_id - Filter inventory items by the ID of their associated location.
* @prop q - Search term to search inventory items' attributes.
* @prop sku - The SKUs to filter inventory items by.
* @prop origin_country - The origin country to filter inventory items by.
* @prop hs_code - The HS Codes to filter inventory items by.
* @prop requires_shipping - Filter inventory items by whether they require shipping.
*/ */
export type FilterableInventoryItemProps = { export type FilterableInventoryItemProps = {
/**
* The IDs to filter inventory items by.
*/
id?: string | string[] id?: string | string[]
/**
* Filter inventory items by the ID of their associated location.
*/
location_id?: string | string[] location_id?: string | string[]
/**
* Search term to search inventory items' attributes.
*/
q?: string q?: string
/**
* The SKUs to filter inventory items by.
*/
sku?: string | string[] | StringComparisonOperator sku?: string | string[] | StringComparisonOperator
/**
* The origin country to filter inventory items by.
*/
origin_country?: string | string[] origin_country?: string | string[]
/**
* The HS Codes to filter inventory items by.
*/
hs_code?: string | string[] | StringComparisonOperator hs_code?: string | string[] | StringComparisonOperator
/**
* Filter inventory items by whether they require shipping.
*/
requires_shipping?: boolean requires_shipping?: boolean
} }
@@ -259,36 +285,63 @@ export type FilterableInventoryItemProps = {
* @interface * @interface
* *
* The details of the inventory item to be created. * The details of the inventory item to be created.
*
* @prop sku - The SKU of the inventory item.
* @prop origin_country - The origin country of the inventory item.
* @prop mid_code - The MID code of the inventory item.
* @prop material - The material of the inventory item.
* @prop weight - The weight of the inventory item.
* @prop length - The length of the inventory item.
* @prop height - The height of the inventory item.
* @prop width - The width of the inventory item.
* @prop title - The title of the inventory item.
* @prop description - The description of the inventory item.
* @prop thumbnail - The thumbnail of the inventory item.
* @prop metadata - Holds custom data in key-value pairs.
* @prop hs_code - The HS code of the inventory item.
* @prop requries_shipping - Whether the inventory item requires shipping.
*/ */
export type CreateInventoryItemInput = { export type CreateInventoryItemInput = {
/**
* The SKU of the inventory item.
*/
sku?: string | null sku?: string | null
/**
* The origin country of the inventory item.
*/
origin_country?: string | null origin_country?: string | null
/**
* The MID code of the inventory item.
*/
mid_code?: string | null mid_code?: string | null
/**
* The material of the inventory item.
*/
material?: string | null material?: string | null
/**
* The weight of the inventory item.
*/
weight?: number | null weight?: number | null
/**
* The length of the inventory item.
*/
length?: number | null length?: number | null
/**
* The height of the inventory item.
*/
height?: number | null height?: number | null
/**
* The width of the inventory item.
*/
width?: number | null width?: number | null
/**
* The title of the inventory item.
*/
title?: string | null title?: string | null
/**
* The description of the inventory item.
*/
description?: string | null description?: string | null
/**
* The thumbnail of the inventory item.
*/
thumbnail?: string | null thumbnail?: string | null
/**
* Holds custom data in key-value pairs.
*/
metadata?: Record<string, unknown> | null metadata?: Record<string, unknown> | null
/**
* The HS code of the inventory item.
*/
hs_code?: string | null hs_code?: string | null
/**
* Whether the inventory item requires shipping.
*/
requires_shipping?: boolean requires_shipping?: boolean
} }
@@ -296,24 +349,39 @@ export type CreateInventoryItemInput = {
* @interface * @interface
* *
* The details of the reservation item to be created. * The details of the reservation item to be created.
*
* @prop line_item_id - The ID of the associated line item.
* @prop inventory_item_id - The ID of the associated inventory item.
* @prop location_id - The ID of the associated location.
* @prop quantity - The reserved quantity.
* @prop description - The description of the reservation.
* @prop created_by - The user or system that created the reservation. Can be any form of identification string.
* @prop external_id - An ID associated with an external third-party system that the reservation item is connected to.
* @prop metadata - Holds custom data in key-value pairs.
*/ */
export type CreateReservationItemInput = { export type CreateReservationItemInput = {
/**
* The ID of the associated line item.
*/
line_item_id?: string line_item_id?: string
/**
* The ID of the associated inventory item.
*/
inventory_item_id: string inventory_item_id: string
/**
* The ID of the associated location.
*/
location_id: string location_id: string
/**
* The reserved quantity.
*/
quantity: number quantity: number
/**
* The description of the reservation.
*/
description?: string description?: string
/**
* The user or system that created the reservation. Can be any form of identification string.
*/
created_by?: string created_by?: string
/**
* An ID associated with an external third-party system that the reservation item is connected to.
*/
external_id?: string external_id?: string
/**
* Holds custom data in key-value pairs.
*/
metadata?: Record<string, unknown> | null metadata?: Record<string, unknown> | null
} }
@@ -321,18 +389,27 @@ export type CreateReservationItemInput = {
* @interface * @interface
* *
* The filters to apply on retrieved inventory levels. * The filters to apply on retrieved inventory levels.
*
* @prop inventory_item_id - Filter inventory levels by the ID of their associated inventory item.
* @prop location_id - Filter inventory levels by the ID of their associated inventory location.
* @prop stocked_quantity - Filters to apply on inventory levels' `stocked_quantity` attribute.
* @prop reserved_quantity - Filters to apply on inventory levels' `reserved_quantity` attribute.
* @prop incoming_quantity - Filters to apply on inventory levels' `incoming_quantity` attribute.
*/ */
export type FilterableInventoryLevelProps = { export type FilterableInventoryLevelProps = {
/**
* Filter inventory levels by the ID of their associated inventory item.
*/
inventory_item_id?: string | string[] inventory_item_id?: string | string[]
/**
* Filter inventory levels by the ID of their associated inventory location.
*/
location_id?: string | string[] location_id?: string | string[]
/**
* Filters to apply on inventory levels' `stocked_quantity` attribute.
*/
stocked_quantity?: number | NumericalComparisonOperator stocked_quantity?: number | NumericalComparisonOperator
/**
* Filters to apply on inventory levels' `reserved_quantity` attribute.
*/
reserved_quantity?: number | NumericalComparisonOperator reserved_quantity?: number | NumericalComparisonOperator
/**
* Filters to apply on inventory levels' `incoming_quantity` attribute.
*/
incoming_quantity?: number | NumericalComparisonOperator incoming_quantity?: number | NumericalComparisonOperator
} }
@@ -340,18 +417,27 @@ export type FilterableInventoryLevelProps = {
* @interface * @interface
* *
* The details of the inventory level to be created. * The details of the inventory level to be created.
*
* @prop inventory_item_id - The ID of the associated inventory item.
* @prop location_id - The ID of the associated location.
* @prop stocked_quantity - The stocked quantity of the associated inventory item in the associated location.
* @prop reserved_quantity - The reserved quantity of the associated inventory item in the associated location.
* @prop incoming_quantity - The incoming quantity of the associated inventory item in the associated location.
*/ */
export type CreateInventoryLevelInput = { export type CreateInventoryLevelInput = {
/**
* The ID of the associated inventory item.
*/
inventory_item_id: string inventory_item_id: string
/**
* The ID of the associated location.
*/
location_id: string location_id: string
/**
* The stocked quantity of the associated inventory item in the associated location.
*/
stocked_quantity: number stocked_quantity: number
/**
* The reserved quantity of the associated inventory item in the associated location.
*/
reserved_quantity?: number reserved_quantity?: number
/**
* The incoming quantity of the associated inventory item in the associated location.
*/
incoming_quantity?: number incoming_quantity?: number
} }
@@ -359,12 +445,15 @@ export type CreateInventoryLevelInput = {
* @interface * @interface
* *
* The attributes to update in an inventory level. * The attributes to update in an inventory level.
*
* @prop stocked_quantity - The stocked quantity of the associated inventory item in the associated location.
* @prop incoming_quantity - The incoming quantity of the associated inventory item in the associated location.
*/ */
export type UpdateInventoryLevelInput = { export type UpdateInventoryLevelInput = {
/**
* The stocked quantity of the associated inventory item in the associated location.
*/
stocked_quantity?: number stocked_quantity?: number
/**
* The incoming quantity of the associated inventory item in the associated location.
*/
incoming_quantity?: number incoming_quantity?: number
} }
@@ -372,12 +461,15 @@ export type UpdateInventoryLevelInput = {
* @interface * @interface
* *
* The attributes to update in an inventory level. The inventory level is identified by the IDs of its associated inventory item and location. * The attributes to update in an inventory level. The inventory level is identified by the IDs of its associated inventory item and location.
*
* @prop inventory_item_id - The ID of the associated inventory level.
* @prop location_id - The ID of the associated location.
*/ */
export type BulkUpdateInventoryLevelInput = { export type BulkUpdateInventoryLevelInput = {
/**
* The ID of the associated inventory level.
*/
inventory_item_id: string inventory_item_id: string
/**
* The ID of the associated location.
*/
location_id: string location_id: string
} & UpdateInventoryLevelInput } & UpdateInventoryLevelInput
@@ -385,16 +477,23 @@ export type BulkUpdateInventoryLevelInput = {
* @interface * @interface
* *
* The attributes to update in a reservation item. * The attributes to update in a reservation item.
*
* @prop quantity - The reserved quantity.
* @prop location_id - The ID of the associated location.
* @prop description - The description of the reservation item.
* @prop metadata - Holds custom data in key-value pairs.
*/ */
export type UpdateReservationItemInput = { export type UpdateReservationItemInput = {
/**
* The reserved quantity.
*/
quantity?: number quantity?: number
/**
* The ID of the associated location.
*/
location_id?: string location_id?: string
/**
* The description of the reservation item.
*/
description?: string description?: string
/**
* Holds custom data in key-value pairs.
*/
metadata?: Record<string, unknown> | null metadata?: Record<string, unknown> | null
} }
File diff suppressed because it is too large. Load diff
+21 -9
View File
@@ -4,12 +4,15 @@ import { EntityManager } from "typeorm"
* @interface * @interface
* *
* A shared context object that is used to share resources between the application and the module. * A shared context object that is used to share resources between the application and the module.
*
* @prop transactionManager - An instance of a transaction manager.
* @prop manager - An instance of an entity manager.
*/ */
export type SharedContext = { export type SharedContext = {
/**
* An instance of a transaction manager.
*/
transactionManager?: EntityManager transactionManager?: EntityManager
/**
* An instance of an entity manager.
*/
manager?: EntityManager manager?: EntityManager
} }
@@ -17,17 +20,26 @@ export type SharedContext = {
* @interface * @interface
* *
* A shared context object that is used to share resources between the application and the module. * A shared context object that is used to share resources between the application and the module.
*
* @prop transactionManager - An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.
* @prop manager - An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.
* @prop isolationLevel - A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.
* @prop enableNestedTransactions - a boolean value indicating whether nested transactions are enabled.
* @prop transactionId - a string indicating the ID of the current transaction.
*/ */
export type Context<TManager = unknown> = { export type Context<TManager = unknown> = {
/**
* An instance of a transaction manager of type `TManager`, which is a typed parameter passed to the context to specify the type of the `transactionManager`.
*/
transactionManager?: TManager transactionManager?: TManager
/**
* An instance of a manager, typically an entity manager, of type `TManager`, which is a typed parameter passed to the context to specify the type of the `manager`.
*/
manager?: TManager manager?: TManager
/**
* A string indicating the isolation level of the context. Possible values are `READ UNCOMMITTED`, `READ COMMITTED`, `REPEATABLE READ`, or `SERIALIZABLE`.
*/
isolationLevel?: string isolationLevel?: string
/**
* A boolean value indicating whether nested transactions are enabled.
*/
enableNestedTransactions?: boolean enableNestedTransactions?: boolean
/**
* A string indicating the ID of the current transaction.
*/
transactionId?: string transactionId?: string
} }
+6 -3
View File
@@ -155,12 +155,15 @@ export type StockLocationExpandedDTO = StockLocationDTO & {
* @interface * @interface
* *
* The filters to apply on the retrieved stock locations. * The filters to apply on the retrieved stock locations.
*
* @prop id - The IDs to filter stock locations by.
* @prop name - The names to filter stock locations by.
*/ */
export type FilterableStockLocationProps = { export type FilterableStockLocationProps = {
/**
* The IDs to filter stock locations by.
*/
id?: string | string[] id?: string | string[]
/**
* The names to filter stock locations by.
*/
name?: string | string[] | StringComparisonOperator name?: string | string[] | StringComparisonOperator
} }
@@ -13,7 +13,7 @@ An address is used across the Medusa backend within other schemas and object typ
<ParameterTypes parameters={[ <ParameterTypes parameters={[
{ {
"name": "address_1", "name": "address_1",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Address line 1", "description": "Address line 1",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "address_2", "name": "address_2",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Address line 2", "description": "Address line 2",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -31,7 +31,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "city", "name": "city",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "City", "description": "City",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -40,7 +40,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "company", "name": "company",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Company name", "description": "Company name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -49,7 +49,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "country", "name": "country",
"type": "``null`` \\| [Country](Country.mdx)", "type": "`null` \\| [Country](Country.mdx)",
"description": "A country object.", "description": "A country object.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -58,7 +58,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "country_code", "name": "country_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The 2 character ISO code of the country in lower case", "description": "The 2 character ISO code of the country in lower case",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "customer", "name": "customer",
"type": "``null`` \\| [Customer](Customer.mdx)", "type": "`null` \\| [Customer](Customer.mdx)",
"description": "Available if the relation `customer` is expanded.", "description": "Available if the relation `customer` is expanded.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -85,7 +85,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "customer_id", "name": "customer_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "ID of the customer this address belongs to", "description": "ID of the customer this address belongs to",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -94,7 +94,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "first_name", "name": "first_name",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "First name", "description": "First name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -121,7 +121,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "last_name", "name": "last_name",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Last name", "description": "Last name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -139,7 +139,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "phone", "name": "phone",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Phone Number", "description": "Phone Number",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -148,7 +148,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "postal_code", "name": "postal_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Postal Code", "description": "Postal Code",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -157,7 +157,7 @@ An address is used across the Medusa backend within other schemas and object typ
}, },
{ {
"name": "province", "name": "province",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Province", "description": "Province",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -31,7 +31,7 @@ Base abstract entity for all entities
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -58,7 +58,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "created_by", "name": "created_by",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique identifier of the user that created the batch job.", "description": "The unique identifier of the user that created the batch job.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -176,7 +176,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "result", "name": "result",
"type": "`&#123; advancement_count?: number ; count?: number ; errors?: (string \\| [BatchJobResultError](../types/BatchJobResultError.mdx))[] ; file_key?: string ; file_size?: number ; progress?: number ; stat_descriptors?: [BatchJobResultStatDescriptor](../types/BatchJobResultStatDescriptor.mdx)[] &#125;` & `Record<string, unknown>`", "type": "``{ advancement_count?: number ; count?: number ; errors?: (string \\| [BatchJobResultError](../types/BatchJobResultError.mdx))[] ; file_key?: string ; file_size?: number ; progress?: number ; stat_descriptors?: [BatchJobResultStatDescriptor](../types/BatchJobResultStatDescriptor.mdx)[] }`` & `Record<string, unknown>`",
"description": "The result of the batch job.", "description": "The result of the batch job.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -311,7 +311,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
"children": [ "children": [
{ {
"name": "CANCELED", "name": "CANCELED",
"type": "``\"canceled\"``", "type": "`\"canceled\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -320,7 +320,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "COMPLETED", "name": "COMPLETED",
"type": "``\"completed\"``", "type": "`\"completed\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -329,7 +329,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "CONFIRMED", "name": "CONFIRMED",
"type": "``\"confirmed\"``", "type": "`\"confirmed\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -338,7 +338,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "CREATED", "name": "CREATED",
"type": "``\"created\"``", "type": "`\"created\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -347,7 +347,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "FAILED", "name": "FAILED",
"type": "``\"failed\"``", "type": "`\"failed\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -356,7 +356,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "PRE_PROCESSED", "name": "PRE_PROCESSED",
"type": "``\"pre_processed\"``", "type": "`\"pre_processed\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -365,7 +365,7 @@ A Batch Job indicates an asynchronus task stored in the Medusa backend. Its stat
}, },
{ {
"name": "PROCESSING", "name": "PROCESSING",
"type": "``\"processing\"``", "type": "`\"processing\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -157,7 +157,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of items with taxes", "description": "The total of items with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -184,7 +184,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "object", "name": "object",
"type": "``\"cart\"``", "type": "`\"cart\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"cart\"", "defaultValue": "\"cart\"",
@@ -220,7 +220,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "payment_session", "name": "payment_session",
"type": "``null`` \\| [PaymentSession](PaymentSession.mdx)", "type": "`null` \\| [PaymentSession](PaymentSession.mdx)",
"description": "The details of the selected payment session in the cart.", "description": "The details of the selected payment session in the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -292,7 +292,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The sales channel ID the cart is associated with.", "description": "The sales channel ID the cart is associated with.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -301,7 +301,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "shipping_address", "name": "shipping_address",
"type": "``null`` \\| [Address](Address.mdx)", "type": "`null` \\| [Address](Address.mdx)",
"description": "The details of the shipping address associated with the cart.", "description": "The details of the shipping address associated with the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -328,7 +328,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of shipping with taxes", "description": "The total of shipping with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -355,7 +355,7 @@ A cart represents a virtual shopping bag. It can be used to complete an order, a
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -48,7 +48,7 @@ The details of an image attached to a claim.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -185,7 +185,7 @@ The details of an image attached to a claim.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -283,7 +283,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -401,7 +401,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A more detailed description of the contents of the Line Item.", "description": "A more detailed description of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -410,7 +410,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "discount_total", "name": "discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item rounded", "description": "The total of discount of the line item rounded",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -419,7 +419,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "fulfilled_quantity", "name": "fulfilled_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been fulfilled.", "description": "The quantity of the Line Item that has been fulfilled.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -428,7 +428,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "gift_card_total", "name": "gift_card_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of the gift card of the line item", "description": "The total of the gift card of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -437,7 +437,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "has_shipping", "name": "has_shipping",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "Flag to indicate if the Line Item has fulfillment associated with it.", "description": "Flag to indicate if the Line Item has fulfillment associated with it.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -501,7 +501,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "order_edit", "name": "order_edit",
"type": "``null`` \\| [OrderEdit](OrderEdit.mdx)", "type": "`null` \\| [OrderEdit](OrderEdit.mdx)",
"description": "The details of the order edit.", "description": "The details of the order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -510,7 +510,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "order_edit_id", "name": "order_edit_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order edit that the item may belong to.", "description": "The ID of the order edit that the item may belong to.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -519,7 +519,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "order_id", "name": "order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order that the line item may belongs to.", "description": "The ID of the order that the line item may belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -528,7 +528,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "original_item_id", "name": "original_item_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.", "description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -537,7 +537,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "original_tax_total", "name": "original_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original tax total amount of the line item", "description": "The original tax total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -546,7 +546,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "original_total", "name": "original_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original total amount of the line item", "description": "The original total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -555,7 +555,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "product_id", "name": "product_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -573,7 +573,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "raw_discount_total", "name": "raw_discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item", "description": "The total of discount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -582,7 +582,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "refundable", "name": "refundable",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.", "description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -591,7 +591,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "returned_quantity", "name": "returned_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been returned.", "description": "The quantity of the Line Item that has been returned.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -600,7 +600,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "shipped_quantity", "name": "shipped_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been shipped.", "description": "The quantity of the Line Item that has been shipped.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -618,7 +618,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "subtotal", "name": "subtotal",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The subtotal of the line item", "description": "The subtotal of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -654,7 +654,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax of the line item", "description": "The total of tax of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -663,7 +663,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL string to a small image of the contents of the Line Item.", "description": "A URL string to a small image of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -681,7 +681,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "total", "name": "total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total amount of the line item", "description": "The total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -717,7 +717,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "variant_id", "name": "variant_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The id of the Product Variant contained in the Line Item.", "description": "The id of the Product Variant contained in the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -772,7 +772,7 @@ A claim item is an item created as part of a claim. It references an item in the
"children": [ "children": [
{ {
"name": "MISSING_ITEM", "name": "MISSING_ITEM",
"type": "``\"missing_item\"``", "type": "`\"missing_item\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -781,7 +781,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "OTHER", "name": "OTHER",
"type": "``\"other\"``", "type": "`\"other\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -790,7 +790,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "PRODUCTION_FAILURE", "name": "PRODUCTION_FAILURE",
"type": "``\"production_failure\"``", "type": "`\"production_failure\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -799,7 +799,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "WRONG_ITEM", "name": "WRONG_ITEM",
"type": "``\"wrong_item\"``", "type": "`\"wrong_item\"`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -827,7 +827,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -900,7 +900,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "barcode", "name": "barcode",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A generic field for a GTIN number that can be used to identify the Product Variant.", "description": "A generic field for a GTIN number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -918,7 +918,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -927,7 +927,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "ean", "name": "ean",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An EAN barcode number that can be used to identify the Product Variant.", "description": "An EAN barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -936,7 +936,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -945,7 +945,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -981,7 +981,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -999,7 +999,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1008,7 +1008,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1017,7 +1017,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1035,7 +1035,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1080,7 +1080,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.", "description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1098,7 +1098,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "upc", "name": "upc",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A UPC barcode number that can be used to identify the Product Variant.", "description": "A UPC barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1116,7 +1116,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "variant_rank", "name": "variant_rank",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The ranking of this variant", "description": "The ranking of this variant",
"optional": false, "optional": false,
"defaultValue": "0", "defaultValue": "0",
@@ -1125,7 +1125,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1134,7 +1134,7 @@ A claim item is an item created as part of a claim. It references an item in the
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ Claim Tags are user defined tags that can be assigned to claim items for easy fi
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -120,7 +120,7 @@ Country details
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -211,7 +211,7 @@ Country details
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -229,7 +229,7 @@ Country details
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -249,7 +249,7 @@ Country details
}, },
{ {
"name": "region_id", "name": "region_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The region ID this country is associated with.", "description": "The region ID this country is associated with.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -84,7 +84,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -165,7 +165,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of items with taxes", "description": "The total of items with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -192,7 +192,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "object", "name": "object",
"type": "``\"cart\"``", "type": "`\"cart\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"cart\"", "defaultValue": "\"cart\"",
@@ -228,7 +228,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "payment_session", "name": "payment_session",
"type": "``null`` \\| [PaymentSession](PaymentSession.mdx)", "type": "`null` \\| [PaymentSession](PaymentSession.mdx)",
"description": "The details of the selected payment session in the cart.", "description": "The details of the selected payment session in the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -300,7 +300,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The sales channel ID the cart is associated with.", "description": "The sales channel ID the cart is associated with.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -309,7 +309,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "shipping_address", "name": "shipping_address",
"type": "``null`` \\| [Address](Address.mdx)", "type": "`null` \\| [Address](Address.mdx)",
"description": "The details of the shipping address associated with the cart.", "description": "The details of the shipping address associated with the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -336,7 +336,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of shipping with taxes", "description": "The total of shipping with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -363,7 +363,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -419,7 +419,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -472,7 +472,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "amount", "name": "amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.", "description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -499,7 +499,7 @@ Custom Shipping Options are overridden Shipping Options. Admins can attach a Cus
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -21,7 +21,7 @@ A customer can make purchases in your store and manage their profile.
"children": [ "children": [
{ {
"name": "address_1", "name": "address_1",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Address line 1", "description": "Address line 1",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -30,7 +30,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "address_2", "name": "address_2",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Address line 2", "description": "Address line 2",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -39,7 +39,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "city", "name": "city",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "City", "description": "City",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -48,7 +48,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "company", "name": "company",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Company name", "description": "Company name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "country", "name": "country",
"type": "``null`` \\| [Country](Country.mdx)", "type": "`null` \\| [Country](Country.mdx)",
"description": "A country object.", "description": "A country object.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -66,7 +66,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "country_code", "name": "country_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The 2 character ISO code of the country in lower case", "description": "The 2 character ISO code of the country in lower case",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -84,7 +84,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "customer", "name": "customer",
"type": "``null`` \\| [Customer](Customer.mdx)", "type": "`null` \\| [Customer](Customer.mdx)",
"description": "Available if the relation `customer` is expanded.", "description": "Available if the relation `customer` is expanded.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "customer_id", "name": "customer_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "ID of the customer this address belongs to", "description": "ID of the customer this address belongs to",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -111,7 +111,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "first_name", "name": "first_name",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "First name", "description": "First name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -129,7 +129,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "last_name", "name": "last_name",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Last name", "description": "Last name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -147,7 +147,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "phone", "name": "phone",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Phone Number", "description": "Phone Number",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -156,7 +156,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "postal_code", "name": "postal_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Postal Code", "description": "Postal Code",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -165,7 +165,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "province", "name": "province",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Province", "description": "Province",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -185,7 +185,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "billing_address_id", "name": "billing_address_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The customer's billing address ID", "description": "The customer's billing address ID",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -203,7 +203,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -256,7 +256,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -518,7 +518,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -599,7 +599,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -635,7 +635,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -752,7 +752,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -788,7 +788,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -833,7 +833,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -842,7 +842,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -897,7 +897,7 @@ A customer can make purchases in your store and manage their profile.
"children": [ "children": [
{ {
"name": "address_1", "name": "address_1",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Address line 1", "description": "Address line 1",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -906,7 +906,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "address_2", "name": "address_2",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Address line 2", "description": "Address line 2",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -915,7 +915,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "city", "name": "city",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "City", "description": "City",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -924,7 +924,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "company", "name": "company",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Company name", "description": "Company name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -933,7 +933,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "country", "name": "country",
"type": "``null`` \\| [Country](Country.mdx)", "type": "`null` \\| [Country](Country.mdx)",
"description": "A country object.", "description": "A country object.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -942,7 +942,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "country_code", "name": "country_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The 2 character ISO code of the country in lower case", "description": "The 2 character ISO code of the country in lower case",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -960,7 +960,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "customer", "name": "customer",
"type": "``null`` \\| [Customer](Customer.mdx)", "type": "`null` \\| [Customer](Customer.mdx)",
"description": "Available if the relation `customer` is expanded.", "description": "Available if the relation `customer` is expanded.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -969,7 +969,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "customer_id", "name": "customer_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "ID of the customer this address belongs to", "description": "ID of the customer this address belongs to",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -978,7 +978,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -987,7 +987,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "first_name", "name": "first_name",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "First name", "description": "First name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1005,7 +1005,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "last_name", "name": "last_name",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Last name", "description": "Last name",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1023,7 +1023,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "phone", "name": "phone",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Phone Number", "description": "Phone Number",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1032,7 +1032,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "postal_code", "name": "postal_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Postal Code", "description": "Postal Code",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1041,7 +1041,7 @@ A customer can make purchases in your store and manage their profile.
}, },
{ {
"name": "province", "name": "province",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Province", "description": "Province",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -39,7 +39,7 @@ A customer group that can be used to organize customers into groups of similar t
}, },
{ {
"name": "billing_address_id", "name": "billing_address_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The customer's billing address ID", "description": "The customer's billing address ID",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ A customer group that can be used to organize customers into groups of similar t
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -176,7 +176,7 @@ A customer group that can be used to organize customers into groups of similar t
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -238,7 +238,7 @@ A customer group that can be used to organize customers into groups of similar t
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -256,7 +256,7 @@ A customer group that can be used to organize customers into groups of similar t
}, },
{ {
"name": "ends_at", "name": "ends_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone that the Price List stops being valid.", "description": "The date with timezone that the Price List stops being valid.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -302,7 +302,7 @@ A customer group that can be used to organize customers into groups of similar t
}, },
{ {
"name": "starts_at", "name": "starts_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone that the Price List starts being valid.", "description": "The date with timezone that the Price List starts being valid.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -31,7 +31,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -40,7 +40,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "ends_at", "name": "ends_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The time at which the discount can no longer be used.", "description": "The time at which the discount can no longer be used.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -111,7 +111,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -120,7 +120,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "ends_at", "name": "ends_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The time at which the discount can no longer be used.", "description": "The time at which the discount can no longer be used.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -237,7 +237,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "usage_limit", "name": "usage_limit",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The maximum number of times that a discount can be used.", "description": "The maximum number of times that a discount can be used.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -246,7 +246,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "valid_duration", "name": "valid_duration",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Duration the discount runs between", "description": "Duration the discount runs between",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -319,7 +319,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -410,7 +410,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -428,7 +428,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -483,7 +483,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -584,7 +584,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "usage_limit", "name": "usage_limit",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The maximum number of times that a discount can be used.", "description": "The maximum number of times that a discount can be used.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -593,7 +593,7 @@ A discount can be applied to a cart for promotional purposes.
}, },
{ {
"name": "valid_duration", "name": "valid_duration",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Duration the discount runs between", "description": "Duration the discount runs between",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -48,7 +48,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -104,7 +104,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -148,7 +148,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -248,7 +248,7 @@ Holds rule conditions for when a discount is applicable
"children": [ "children": [
{ {
"name": "IN", "name": "IN",
"type": "``\"in\"``", "type": "`\"in\"`",
"description": "The discountable resources are within the specified resources.", "description": "The discountable resources are within the specified resources.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -257,7 +257,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "NOT_IN", "name": "NOT_IN",
"type": "``\"not_in\"``", "type": "`\"not_in\"`",
"description": "The discountable resources are everything but the specified resources.", "description": "The discountable resources are everything but the specified resources.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -285,7 +285,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -367,7 +367,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -431,7 +431,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -505,7 +505,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -523,7 +523,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -532,7 +532,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -550,7 +550,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -559,7 +559,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -568,7 +568,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -577,7 +577,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -613,7 +613,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -622,7 +622,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -631,7 +631,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -640,7 +640,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -658,7 +658,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -712,7 +712,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -730,7 +730,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -757,7 +757,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -784,7 +784,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -793,7 +793,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -812,7 +812,7 @@ Holds rule conditions for when a discount is applicable
"children": [ "children": [
{ {
"name": "CUSTOMER_GROUPS", "name": "CUSTOMER_GROUPS",
"type": "``\"customer_groups\"``", "type": "`\"customer_groups\"`",
"description": "The discount condition is used for customer groups.", "description": "The discount condition is used for customer groups.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -821,7 +821,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "PRODUCTS", "name": "PRODUCTS",
"type": "``\"products\"``", "type": "`\"products\"`",
"description": "The discount condition is used for products.", "description": "The discount condition is used for products.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -830,7 +830,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "PRODUCT_COLLECTIONS", "name": "PRODUCT_COLLECTIONS",
"type": "``\"product_collections\"``", "type": "`\"product_collections\"`",
"description": "The discount condition is used for product collections.", "description": "The discount condition is used for product collections.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -839,7 +839,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "PRODUCT_TAGS", "name": "PRODUCT_TAGS",
"type": "``\"product_tags\"``", "type": "`\"product_tags\"`",
"description": "The discount condition is used for product tags.", "description": "The discount condition is used for product tags.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -848,7 +848,7 @@ Holds rule conditions for when a discount is applicable
}, },
{ {
"name": "PRODUCT_TYPES", "name": "PRODUCT_TYPES",
"type": "``\"product_types\"``", "type": "`\"product_types\"`",
"description": "The discount condition is used for product types.", "description": "The discount condition is used for product types.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ Associates a discount condition with a customer group
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -148,7 +148,7 @@ Associates a discount condition with a customer group
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -203,7 +203,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -221,7 +221,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -248,7 +248,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -257,7 +257,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -266,7 +266,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -275,7 +275,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -311,7 +311,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -320,7 +320,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -329,7 +329,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -338,7 +338,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -356,7 +356,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -410,7 +410,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -428,7 +428,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -455,7 +455,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -482,7 +482,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -491,7 +491,7 @@ This represents the association between a discount condition and a product
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ This represents the association between a discount condition and a product colle
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ This represents the association between a discount condition and a product colle
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ This represents the association between a discount condition and a product tag
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ This represents the association between a discount condition and a product tag
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ This represents the association between a discount condition and a product type
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ This represents the association between a discount condition and a product type
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -21,7 +21,7 @@ A discount rule defines how a Discount is calculated when applied to a Cart.
"children": [ "children": [
{ {
"name": "ITEM", "name": "ITEM",
"type": "``\"item\"``", "type": "`\"item\"`",
"description": "The discount should be applied to applicable items in the cart.", "description": "The discount should be applied to applicable items in the cart.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -30,7 +30,7 @@ A discount rule defines how a Discount is calculated when applied to a Cart.
}, },
{ {
"name": "TOTAL", "name": "TOTAL",
"type": "``\"total\"``", "type": "`\"total\"`",
"description": "The discount should be applied to the checkout total.", "description": "The discount should be applied to the checkout total.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -67,7 +67,7 @@ A discount rule defines how a Discount is calculated when applied to a Cart.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -186,7 +186,7 @@ A discount rule defines how a Discount is calculated when applied to a Cart.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ A discount rule defines how a Discount is calculated when applied to a Cart.
"children": [ "children": [
{ {
"name": "FIXED", "name": "FIXED",
"type": "``\"fixed\"``", "type": "`\"fixed\"`",
"description": "Discounts that reduce the price by a fixed amount.", "description": "Discounts that reduce the price by a fixed amount.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -239,7 +239,7 @@ A discount rule defines how a Discount is calculated when applied to a Cart.
}, },
{ {
"name": "FREE_SHIPPING", "name": "FREE_SHIPPING",
"type": "``\"free_shipping\"``", "type": "`\"free_shipping\"`",
"description": "Discounts that sets the shipping price to `0`.", "description": "Discounts that sets the shipping price to `0`.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -248,7 +248,7 @@ A discount rule defines how a Discount is calculated when applied to a Cart.
}, },
{ {
"name": "PERCENTAGE", "name": "PERCENTAGE",
"type": "``\"percentage\"``", "type": "`\"percentage\"`",
"description": "Discounts that reduce the price by a percentage reduction.", "description": "Discounts that reduce the price by a percentage reduction.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -321,7 +321,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "location_id", "name": "location_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the stock location the fulfillment will be shipped from", "description": "The ID of the stock location the fulfillment will be shipped from",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -518,7 +518,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -599,7 +599,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -635,7 +635,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -752,7 +752,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -788,7 +788,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -833,7 +833,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -842,7 +842,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -997,7 +997,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1178,7 +1178,7 @@ A Fulfillment is created once an admin can prepare the purchased goods. Fulfillm
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "location_id", "name": "location_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the stock location the fulfillment will be shipped from", "description": "The ID of the stock location the fulfillment will be shipped from",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -292,7 +292,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A more detailed description of the contents of the Line Item.", "description": "A more detailed description of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -301,7 +301,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "discount_total", "name": "discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item rounded", "description": "The total of discount of the line item rounded",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -310,7 +310,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "fulfilled_quantity", "name": "fulfilled_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been fulfilled.", "description": "The quantity of the Line Item that has been fulfilled.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -319,7 +319,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "gift_card_total", "name": "gift_card_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of the gift card of the line item", "description": "The total of the gift card of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -328,7 +328,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "has_shipping", "name": "has_shipping",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "Flag to indicate if the Line Item has fulfillment associated with it.", "description": "Flag to indicate if the Line Item has fulfillment associated with it.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -392,7 +392,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "order_edit", "name": "order_edit",
"type": "``null`` \\| [OrderEdit](OrderEdit.mdx)", "type": "`null` \\| [OrderEdit](OrderEdit.mdx)",
"description": "The details of the order edit.", "description": "The details of the order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -401,7 +401,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "order_edit_id", "name": "order_edit_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order edit that the item may belong to.", "description": "The ID of the order edit that the item may belong to.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -410,7 +410,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "order_id", "name": "order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order that the line item may belongs to.", "description": "The ID of the order that the line item may belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -419,7 +419,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "original_item_id", "name": "original_item_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.", "description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -428,7 +428,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "original_tax_total", "name": "original_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original tax total amount of the line item", "description": "The original tax total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -437,7 +437,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "original_total", "name": "original_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original total amount of the line item", "description": "The original total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -446,7 +446,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "product_id", "name": "product_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -464,7 +464,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "raw_discount_total", "name": "raw_discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item", "description": "The total of discount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -473,7 +473,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "refundable", "name": "refundable",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.", "description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -482,7 +482,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "returned_quantity", "name": "returned_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been returned.", "description": "The quantity of the Line Item that has been returned.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -491,7 +491,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "shipped_quantity", "name": "shipped_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been shipped.", "description": "The quantity of the Line Item that has been shipped.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -509,7 +509,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "subtotal", "name": "subtotal",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The subtotal of the line item", "description": "The subtotal of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -545,7 +545,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax of the line item", "description": "The total of tax of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -554,7 +554,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL string to a small image of the contents of the Line Item.", "description": "A URL string to a small image of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -572,7 +572,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "total", "name": "total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total amount of the line item", "description": "The total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -608,7 +608,7 @@ This represents the association between a Line Item and a Fulfillment.
}, },
{ {
"name": "variant_id", "name": "variant_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The id of the Product Variant contained in the Line Item.", "description": "The id of the Product Variant contained in the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -40,7 +40,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -255,7 +255,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -336,7 +336,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -372,7 +372,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -489,7 +489,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -525,7 +525,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -570,7 +570,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -579,7 +579,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -670,7 +670,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -761,7 +761,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -779,7 +779,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -808,7 +808,7 @@ Gift Cards are redeemable and represent a value that can be used towards the pay
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The gift card's tax rate that will be applied on calculating totals", "description": "The gift card's tax rate that will be applied on calculating totals",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -66,7 +66,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -147,7 +147,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The gift card's tax rate that will be applied on calculating totals", "description": "The gift card's tax rate that will be applied on calculating totals",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -373,7 +373,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -454,7 +454,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -490,7 +490,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -607,7 +607,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -643,7 +643,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -688,7 +688,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -697,7 +697,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -735,7 +735,7 @@ Gift Card Transactions are created once a Customer uses a Gift Card to pay for t
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax rate of the transaction", "description": "The tax rate of the transaction",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ An Image is used to store details about uploaded images. Images are uploaded by
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -31,7 +31,7 @@ An invite is created when an admin user invites a new user to join the store's t
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -75,7 +75,7 @@ An invite is created when an admin user invites a new user to join the store's t
"children": [ "children": [
{ {
"name": "ADMIN", "name": "ADMIN",
"type": "``\"admin\"``", "type": "`\"admin\"`",
"description": "The user is an admin.", "description": "The user is an admin.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -84,7 +84,7 @@ An invite is created when an admin user invites a new user to join the store's t
}, },
{ {
"name": "DEVELOPER", "name": "DEVELOPER",
"type": "``\"developer\"``", "type": "`\"developer\"`",
"description": "The user is a developer.", "description": "The user is a developer.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ An invite is created when an admin user invites a new user to join the store's t
}, },
{ {
"name": "MEMBER", "name": "MEMBER",
"type": "``\"member\"``", "type": "`\"member\"`",
"description": "The user is a team member.", "description": "The user is a team member.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A more detailed description of the contents of the Line Item.", "description": "A more detailed description of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -85,7 +85,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "discount_total", "name": "discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item rounded", "description": "The total of discount of the line item rounded",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -94,7 +94,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "fulfilled_quantity", "name": "fulfilled_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been fulfilled.", "description": "The quantity of the Line Item that has been fulfilled.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "gift_card_total", "name": "gift_card_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of the gift card of the line item", "description": "The total of the gift card of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -112,7 +112,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "has_shipping", "name": "has_shipping",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "Flag to indicate if the Line Item has fulfillment associated with it.", "description": "Flag to indicate if the Line Item has fulfillment associated with it.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -176,7 +176,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "order_edit", "name": "order_edit",
"type": "``null`` \\| [OrderEdit](OrderEdit.mdx)", "type": "`null` \\| [OrderEdit](OrderEdit.mdx)",
"description": "The details of the order edit.", "description": "The details of the order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -185,7 +185,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "order_edit_id", "name": "order_edit_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order edit that the item may belong to.", "description": "The ID of the order edit that the item may belong to.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -194,7 +194,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "order_id", "name": "order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order that the line item may belongs to.", "description": "The ID of the order that the line item may belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -203,7 +203,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "original_item_id", "name": "original_item_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.", "description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -212,7 +212,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "original_tax_total", "name": "original_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original tax total amount of the line item", "description": "The original tax total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -221,7 +221,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "original_total", "name": "original_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original total amount of the line item", "description": "The original total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "product_id", "name": "product_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -248,7 +248,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "raw_discount_total", "name": "raw_discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item", "description": "The total of discount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -257,7 +257,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "refundable", "name": "refundable",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.", "description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -266,7 +266,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "returned_quantity", "name": "returned_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been returned.", "description": "The quantity of the Line Item that has been returned.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -275,7 +275,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "shipped_quantity", "name": "shipped_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been shipped.", "description": "The quantity of the Line Item that has been shipped.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -293,7 +293,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "subtotal", "name": "subtotal",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The subtotal of the line item", "description": "The subtotal of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -329,7 +329,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax of the line item", "description": "The total of tax of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -338,7 +338,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL string to a small image of the contents of the Line Item.", "description": "A URL string to a small image of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -356,7 +356,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "total", "name": "total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total amount of the line item", "description": "The total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -392,7 +392,7 @@ Line Items are created when a product is added to a Cart. When Line Items are pu
}, },
{ {
"name": "variant_id", "name": "variant_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The id of the Product Variant contained in the Line Item.", "description": "The id of the Product Variant contained in the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -13,7 +13,7 @@ A Line Item Tax Line represents the taxes applied on a line item.
<ParameterTypes parameters={[ <ParameterTypes parameters={[
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -96,7 +96,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -114,7 +114,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "max_quantity", "name": "max_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The maximum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.", "description": "The maximum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -123,7 +123,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "min_quantity", "name": "min_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The minimum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.", "description": "The minimum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -132,7 +132,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "price_list", "name": "price_list",
"type": "``null`` \\| [PriceList](PriceList.mdx)", "type": "`null` \\| [PriceList](PriceList.mdx)",
"description": "The details of the price list that the money amount may belong to.", "description": "The details of the price list that the money amount may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -141,7 +141,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "price_list_id", "name": "price_list_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the price list that the money amount may belong to.", "description": "The ID of the price list that the money amount may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -203,7 +203,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -294,7 +294,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -312,7 +312,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -367,7 +367,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "barcode", "name": "barcode",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A generic field for a GTIN number that can be used to identify the Product Variant.", "description": "A generic field for a GTIN number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -385,7 +385,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -394,7 +394,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "ean", "name": "ean",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An EAN barcode number that can be used to identify the Product Variant.", "description": "An EAN barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -403,7 +403,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -412,7 +412,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -448,7 +448,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -466,7 +466,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -475,7 +475,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -484,7 +484,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -502,7 +502,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -547,7 +547,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.", "description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -565,7 +565,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "upc", "name": "upc",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A UPC barcode number that can be used to identify the Product Variant.", "description": "A UPC barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -583,7 +583,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "variant_rank", "name": "variant_rank",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The ranking of this variant", "description": "The ranking of this variant",
"optional": false, "optional": false,
"defaultValue": "0", "defaultValue": "0",
@@ -592,7 +592,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -601,7 +601,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -638,7 +638,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "barcode", "name": "barcode",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A generic field for a GTIN number that can be used to identify the Product Variant.", "description": "A generic field for a GTIN number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -656,7 +656,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -665,7 +665,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "ean", "name": "ean",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An EAN barcode number that can be used to identify the Product Variant.", "description": "An EAN barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -674,7 +674,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -683,7 +683,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -719,7 +719,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -737,7 +737,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -746,7 +746,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -755,7 +755,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -773,7 +773,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -818,7 +818,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.", "description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -836,7 +836,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "upc", "name": "upc",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A UPC barcode number that can be used to identify the Product Variant.", "description": "A UPC barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -854,7 +854,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "variant_rank", "name": "variant_rank",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The ranking of this variant", "description": "The ranking of this variant",
"optional": false, "optional": false,
"defaultValue": "0", "defaultValue": "0",
@@ -863,7 +863,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -872,7 +872,7 @@ A Money Amount represent a price amount, for example, a product variant's price
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -39,7 +39,7 @@ A Note is an element that can be used in association with different resources to
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -140,7 +140,7 @@ A Note is an element that can be used in association with different resources to
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -39,7 +39,7 @@ A notification is an alert sent, typically to customers, using the installed Not
}, },
{ {
"name": "billing_address_id", "name": "billing_address_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The customer's billing address ID", "description": "The customer's billing address ID",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ A notification is an alert sent, typically to customers, using the installed Not
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -176,7 +176,7 @@ A notification is an alert sent, typically to customers, using the installed Not
}, },
{ {
"name": "customer_id", "name": "customer_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the customer that this notification was sent to.", "description": "The ID of the customer that this notification was sent to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -247,7 +247,7 @@ A notification is an alert sent, typically to customers, using the installed Not
}, },
{ {
"name": "customer_id", "name": "customer_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the customer that this notification was sent to.", "description": "The ID of the customer that this notification was sent to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -429,7 +429,7 @@ A notification is an alert sent, typically to customers, using the installed Not
}, },
{ {
"name": "customer_id", "name": "customer_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the customer that this notification was sent to.", "description": "The ID of the customer that this notification was sent to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -175,7 +175,7 @@ An order is a purchase made by a customer. It holds details about payment and fu
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -256,7 +256,7 @@ An order is a purchase made by a customer. It holds details about payment and fu
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -292,7 +292,7 @@ An order is a purchase made by a customer. It holds details about payment and fu
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -409,7 +409,7 @@ An order is a purchase made by a customer. It holds details about payment and fu
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -445,7 +445,7 @@ An order is a purchase made by a customer. It holds details about payment and fu
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -490,7 +490,7 @@ An order is a purchase made by a customer. It holds details about payment and fu
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -499,7 +499,7 @@ An order is a purchase made by a customer. It holds details about payment and fu
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -247,7 +247,7 @@ Order edit allows modifying items in an order, such as adding, updating, or dele
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ An order item change is a change made within an order edit to an order's items.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -120,7 +120,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -201,7 +201,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of items with taxes", "description": "The total of items with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -228,7 +228,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "object", "name": "object",
"type": "``\"cart\"``", "type": "`\"cart\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"cart\"", "defaultValue": "\"cart\"",
@@ -264,7 +264,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "payment_session", "name": "payment_session",
"type": "``null`` \\| [PaymentSession](PaymentSession.mdx)", "type": "`null` \\| [PaymentSession](PaymentSession.mdx)",
"description": "The details of the selected payment session in the cart.", "description": "The details of the selected payment session in the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -336,7 +336,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The sales channel ID the cart is associated with.", "description": "The sales channel ID the cart is associated with.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -345,7 +345,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "shipping_address", "name": "shipping_address",
"type": "``null`` \\| [Address](Address.mdx)", "type": "`null` \\| [Address](Address.mdx)",
"description": "The details of the shipping address associated with the cart.", "description": "The details of the shipping address associated with the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -372,7 +372,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of shipping with taxes", "description": "The total of shipping with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -399,7 +399,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -726,7 +726,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -807,7 +807,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -843,7 +843,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -960,7 +960,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -996,7 +996,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1041,7 +1041,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1050,7 +1050,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1168,7 +1168,7 @@ A payment is originally created from a payment session. Once a payment session i
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "authorized_amount", "name": "authorized_amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "Authorized amount of the payment collection.", "description": "Authorized amount of the payment collection.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -114,7 +114,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -123,7 +123,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Description of the payment collection", "description": "Description of the payment collection",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -176,7 +176,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "cart_id", "name": "cart_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the cart that the payment session was created for.", "description": "The ID of the cart that the payment session was created for.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "is_selected", "name": "is_selected",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "A flag to indicate if the Payment Session has been selected as the method that will be used to complete the purchase.", "description": "A flag to indicate if the Payment Session has been selected as the method that will be used to complete the purchase.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -511,7 +511,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -602,7 +602,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -620,7 +620,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -657,7 +657,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
"children": [ "children": [
{ {
"name": "AUTHORIZED", "name": "AUTHORIZED",
"type": "``\"authorized\"``", "type": "`\"authorized\"`",
"description": "The payment colleciton is authorized.", "description": "The payment colleciton is authorized.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -666,7 +666,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "AWAITING", "name": "AWAITING",
"type": "``\"awaiting\"``", "type": "`\"awaiting\"`",
"description": "The payment collection is awaiting payment.", "description": "The payment collection is awaiting payment.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -675,7 +675,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "CANCELED", "name": "CANCELED",
"type": "``\"canceled\"``", "type": "`\"canceled\"`",
"description": "The payment collection is canceled.", "description": "The payment collection is canceled.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -684,7 +684,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "NOT_PAID", "name": "NOT_PAID",
"type": "``\"not_paid\"``", "type": "`\"not_paid\"`",
"description": "The payment collection isn't paid.", "description": "The payment collection isn't paid.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -693,7 +693,7 @@ A payment collection allows grouping and managing a list of payments at one. Thi
}, },
{ {
"name": "PARTIALLY_AUTHORIZED", "name": "PARTIALLY_AUTHORIZED",
"type": "``\"partially_authorized\"``", "type": "`\"partially_authorized\"`",
"description": "Some of the payments in the payment collection are authorized.", "description": "Some of the payments in the payment collection are authorized.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -174,7 +174,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of items with taxes", "description": "The total of items with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -201,7 +201,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "object", "name": "object",
"type": "``\"cart\"``", "type": "`\"cart\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"cart\"", "defaultValue": "\"cart\"",
@@ -237,7 +237,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "payment_session", "name": "payment_session",
"type": "``null`` \\| [PaymentSession](PaymentSession.mdx)", "type": "`null` \\| [PaymentSession](PaymentSession.mdx)",
"description": "The details of the selected payment session in the cart.", "description": "The details of the selected payment session in the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -309,7 +309,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The sales channel ID the cart is associated with.", "description": "The sales channel ID the cart is associated with.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -318,7 +318,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "shipping_address", "name": "shipping_address",
"type": "``null`` \\| [Address](Address.mdx)", "type": "`null` \\| [Address](Address.mdx)",
"description": "The details of the shipping address associated with the cart.", "description": "The details of the shipping address associated with the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -345,7 +345,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of shipping with taxes", "description": "The total of shipping with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -372,7 +372,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -410,7 +410,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "cart_id", "name": "cart_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the cart that the payment session was created for.", "description": "The ID of the cart that the payment session was created for.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -464,7 +464,7 @@ A Payment Session is created when a Customer initilizes the checkout flow, and c
}, },
{ {
"name": "is_selected", "name": "is_selected",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "A flag to indicate if the Payment Session has been selected as the method that will be used to complete the purchase.", "description": "A flag to indicate if the Payment Session has been selected as the method that will be used to complete the purchase.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -48,7 +48,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -104,7 +104,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -122,7 +122,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "ends_at", "name": "ends_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone that the Price List stops being valid.", "description": "The date with timezone that the Price List stops being valid.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -203,7 +203,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -221,7 +221,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "max_quantity", "name": "max_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The maximum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.", "description": "The maximum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "min_quantity", "name": "min_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The minimum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.", "description": "The minimum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -239,7 +239,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "price_list", "name": "price_list",
"type": "``null`` \\| [PriceList](PriceList.mdx)", "type": "`null` \\| [PriceList](PriceList.mdx)",
"description": "The details of the price list that the money amount may belong to.", "description": "The details of the price list that the money amount may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -248,7 +248,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "price_list_id", "name": "price_list_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the price list that the money amount may belong to.", "description": "The ID of the price list that the money amount may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -313,7 +313,7 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "starts_at", "name": "starts_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone that the Price List starts being valid.", "description": "The date with timezone that the Price List starts being valid.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -330,8 +330,8 @@ A Price List represents a set of prices that override the default price for one
"children": [ "children": [
{ {
"name": "ACTIVE", "name": "ACTIVE",
"type": "``\"active\"``", "type": "`\"active\"`",
"description": "The price list is active, meaning its prices are applied to customers.", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -339,8 +339,8 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "DRAFT", "name": "DRAFT",
"type": "``\"draft\"``", "type": "`\"draft\"`",
"description": "The price list is a draft, meaning its not yet applied to customers.", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -358,8 +358,8 @@ A Price List represents a set of prices that override the default price for one
"children": [ "children": [
{ {
"name": "OVERRIDE", "name": "OVERRIDE",
"type": "``\"override\"``", "type": "`\"override\"`",
"description": "The price list is used to override original prices for specific conditions.", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -367,8 +367,8 @@ A Price List represents a set of prices that override the default price for one
}, },
{ {
"name": "SALE", "name": "SALE",
"type": "``\"sale\"``", "type": "`\"sale\"`",
"description": "The price list is used for a sale.", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -94,7 +94,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "parent_category", "name": "parent_category",
"type": "``null`` \\| [ProductCategory](ProductCategory.mdx)", "type": "`null` \\| [ProductCategory](ProductCategory.mdx)",
"description": "The details of the parent of this category.", "description": "The details of the parent of this category.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "parent_category_id", "name": "parent_category_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the parent category.", "description": "The ID of the parent category.",
"optional": false, "optional": false,
"defaultValue": "null", "defaultValue": "null",
@@ -176,7 +176,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -241,7 +241,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -259,7 +259,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -268,7 +268,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -286,7 +286,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -295,7 +295,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -304,7 +304,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -313,7 +313,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -348,7 +348,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -404,7 +404,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -413,7 +413,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -422,7 +422,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -431,7 +431,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -457,7 +457,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -531,7 +531,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -557,7 +557,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -657,7 +657,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -748,7 +748,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -757,7 +757,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the sales channel.", "description": "The description of the sales channel.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -793,7 +793,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -830,7 +830,7 @@ A product is a saleable item that holds general information such as name or desc
"children": [ "children": [
{ {
"name": "DRAFT", "name": "DRAFT",
"type": "``\"draft\"``", "type": "`\"draft\"`",
"description": "The product is a draft. It's not viewable by customers.", "description": "The product is a draft. It's not viewable by customers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -839,7 +839,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "PROPOSED", "name": "PROPOSED",
"type": "``\"proposed\"``", "type": "`\"proposed\"`",
"description": "The product is proposed, but not yet published.", "description": "The product is proposed, but not yet published.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -848,7 +848,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "PUBLISHED", "name": "PUBLISHED",
"type": "``\"published\"``", "type": "`\"published\"`",
"description": "The product is published.", "description": "The product is published.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -857,7 +857,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "REJECTED", "name": "REJECTED",
"type": "``\"rejected\"``", "type": "`\"rejected\"`",
"description": "The product is rejected. It's not viewable by customers.", "description": "The product is rejected. It's not viewable by customers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -868,7 +868,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -894,7 +894,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -941,7 +941,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -976,7 +976,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1023,7 +1023,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1058,7 +1058,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "barcode", "name": "barcode",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A generic field for a GTIN number that can be used to identify the Product Variant.", "description": "A generic field for a GTIN number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1076,7 +1076,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1085,7 +1085,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "ean", "name": "ean",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An EAN barcode number that can be used to identify the Product Variant.", "description": "An EAN barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1094,7 +1094,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1103,7 +1103,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1139,7 +1139,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1157,7 +1157,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1166,7 +1166,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1175,7 +1175,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1193,7 +1193,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1238,7 +1238,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.", "description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1256,7 +1256,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "upc", "name": "upc",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A UPC barcode number that can be used to identify the Product Variant.", "description": "A UPC barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1274,7 +1274,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "variant_rank", "name": "variant_rank",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The ranking of this variant", "description": "The ranking of this variant",
"optional": false, "optional": false,
"defaultValue": "0", "defaultValue": "0",
@@ -1283,7 +1283,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1292,7 +1292,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1303,7 +1303,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1312,7 +1312,7 @@ A product is a saleable item that holds general information such as name or desc
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "parent_category", "name": "parent_category",
"type": "``null`` \\| [ProductCategory](ProductCategory.mdx)", "type": "`null` \\| [ProductCategory](ProductCategory.mdx)",
"description": "The details of the parent of this category.", "description": "The details of the parent of this category.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "parent_category_id", "name": "parent_category_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the parent category.", "description": "The ID of the parent category.",
"optional": false, "optional": false,
"defaultValue": "null", "defaultValue": "null",
@@ -221,7 +221,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "parent_category", "name": "parent_category",
"type": "``null`` \\| [ProductCategory](ProductCategory.mdx)", "type": "`null` \\| [ProductCategory](ProductCategory.mdx)",
"description": "The details of the parent of this category.", "description": "The details of the parent of this category.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "parent_category_id", "name": "parent_category_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the parent category.", "description": "The ID of the parent category.",
"optional": false, "optional": false,
"defaultValue": "null", "defaultValue": "null",
@@ -266,7 +266,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -284,7 +284,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -293,7 +293,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -311,7 +311,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -320,7 +320,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -329,7 +329,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -338,7 +338,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -374,7 +374,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -383,7 +383,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -392,7 +392,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -401,7 +401,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -419,7 +419,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -473,7 +473,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -491,7 +491,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -518,7 +518,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -545,7 +545,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -554,7 +554,7 @@ A product category can be used to categorize products into a hierarchy of catego
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -85,7 +85,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -112,7 +112,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -130,7 +130,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -139,7 +139,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -148,7 +148,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -157,7 +157,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -202,7 +202,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -211,7 +211,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -220,7 +220,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -238,7 +238,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -292,7 +292,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -310,7 +310,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -337,7 +337,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -364,7 +364,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -373,7 +373,7 @@ A Product Collection allows grouping together products for promotional purposes.
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -94,7 +94,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -121,7 +121,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -130,7 +130,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -139,7 +139,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -148,7 +148,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -184,7 +184,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -202,7 +202,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -211,7 +211,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -229,7 +229,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -283,7 +283,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -301,7 +301,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -328,7 +328,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -355,7 +355,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -364,7 +364,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -419,7 +419,7 @@ A Product Option defines properties that may vary between different variants of
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -66,7 +66,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -184,7 +184,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "barcode", "name": "barcode",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A generic field for a GTIN number that can be used to identify the Product Variant.", "description": "A generic field for a GTIN number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -202,7 +202,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -211,7 +211,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "ean", "name": "ean",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An EAN barcode number that can be used to identify the Product Variant.", "description": "An EAN barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -220,7 +220,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -229,7 +229,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -265,7 +265,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -283,7 +283,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -292,7 +292,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -301,7 +301,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -319,7 +319,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -364,7 +364,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.", "description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -382,7 +382,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "upc", "name": "upc",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A UPC barcode number that can be used to identify the Product Variant.", "description": "A UPC barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -400,7 +400,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "variant_rank", "name": "variant_rank",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The ranking of this variant", "description": "The ranking of this variant",
"optional": false, "optional": false,
"defaultValue": "0", "defaultValue": "0",
@@ -409,7 +409,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -418,7 +418,7 @@ An option value is one of the possible values of a Product Option. Product Varia
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Product Tag can be added to Products for easy filtering and grouping.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -58,7 +58,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -85,7 +85,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -112,7 +112,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -121,7 +121,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -130,7 +130,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -166,7 +166,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -175,7 +175,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -184,7 +184,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -211,7 +211,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -265,7 +265,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -283,7 +283,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -310,7 +310,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -337,7 +337,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -346,7 +346,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -383,7 +383,7 @@ This represents the association between a tax rate and a product to indicate tha
"children": [ "children": [
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -464,7 +464,7 @@ This represents the association between a tax rate and a product to indicate tha
}, },
{ {
"name": "rate", "name": "rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The numeric rate to charge", "description": "The numeric rate to charge",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Product Type can be added to Products for filtering and reporting purposes.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -48,7 +48,7 @@ This represents the association between a tax rate and a product type to indicat
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -121,7 +121,7 @@ This represents the association between a tax rate and a product type to indicat
"children": [ "children": [
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -202,7 +202,7 @@ This represents the association between a tax rate and a product type to indicat
}, },
{ {
"name": "rate", "name": "rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The numeric rate to charge", "description": "The numeric rate to charge",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "barcode", "name": "barcode",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A generic field for a GTIN number that can be used to identify the Product Variant.", "description": "A generic field for a GTIN number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -40,7 +40,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -49,7 +49,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "ean", "name": "ean",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An EAN barcode number that can be used to identify the Product Variant.", "description": "An EAN barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -58,7 +58,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -67,7 +67,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -176,7 +176,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -194,7 +194,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -203,7 +203,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -212,7 +212,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -238,7 +238,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -321,7 +321,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -374,7 +374,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -392,7 +392,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "max_quantity", "name": "max_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The maximum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.", "description": "The maximum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -401,7 +401,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "min_quantity", "name": "min_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The minimum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.", "description": "The minimum quantity that the Money Amount applies to. If this value is not set, the Money Amount applies to all quantities.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -410,7 +410,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "price_list", "name": "price_list",
"type": "``null`` \\| [PriceList](PriceList.mdx)", "type": "`null` \\| [PriceList](PriceList.mdx)",
"description": "The details of the price list that the money amount may belong to.", "description": "The details of the price list that the money amount may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -419,7 +419,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "price_list_id", "name": "price_list_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the price list that the money amount may belong to.", "description": "The ID of the price list that the money amount may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -511,7 +511,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -529,7 +529,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -538,7 +538,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -556,7 +556,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -565,7 +565,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -574,7 +574,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -583,7 +583,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -619,7 +619,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -628,7 +628,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -637,7 +637,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -646,7 +646,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -664,7 +664,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -718,7 +718,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -736,7 +736,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -763,7 +763,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -790,7 +790,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -799,7 +799,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -828,7 +828,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.", "description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -846,7 +846,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "upc", "name": "upc",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A UPC barcode number that can be used to identify the Product Variant.", "description": "A UPC barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -864,7 +864,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "variant_rank", "name": "variant_rank",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The ranking of this variant", "description": "The ranking of this variant",
"optional": false, "optional": false,
"defaultValue": "0", "defaultValue": "0",
@@ -873,7 +873,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -882,7 +882,7 @@ A Product Variant represents a Product with a specific set of Product Option con
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -84,7 +84,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "barcode", "name": "barcode",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A generic field for a GTIN number that can be used to identify the Product Variant.", "description": "A generic field for a GTIN number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -111,7 +111,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "ean", "name": "ean",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An EAN barcode number that can be used to identify the Product Variant.", "description": "An EAN barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -120,7 +120,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -129,7 +129,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -165,7 +165,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -183,7 +183,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -192,7 +192,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -201,7 +201,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -219,7 +219,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -264,7 +264,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.", "description": "The unique stock keeping unit used to identify the Product Variant. This will usually be a unique identifer for the item that is to be shipped, and can be referenced across multiple systems.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -282,7 +282,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "upc", "name": "upc",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A UPC barcode number that can be used to identify the Product Variant.", "description": "A UPC barcode number that can be used to identify the Product Variant.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -300,7 +300,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "variant_rank", "name": "variant_rank",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The ranking of this variant", "description": "The ranking of this variant",
"optional": false, "optional": false,
"defaultValue": "0", "defaultValue": "0",
@@ -309,7 +309,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -318,7 +318,7 @@ A Product Variant Inventory Item links variants with inventory items and denotes
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ Base abstract entity for all entities
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Publishable API key defines scopes that resources are available in. Then, it c
}, },
{ {
"name": "created_by", "name": "created_by",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique identifier of the user that created the key.", "description": "The unique identifier of the user that created the key.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -49,7 +49,7 @@ A Publishable API key defines scopes that resources are available in. Then, it c
}, },
{ {
"name": "revoked_by", "name": "revoked_by",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The unique identifier of the user that revoked the key.", "description": "The unique identifier of the user that revoked the key.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -237,7 +237,7 @@ A refund represents an amount of money transfered back to the customer for a giv
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -318,7 +318,7 @@ A refund represents an amount of money transfered back to the customer for a giv
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -354,7 +354,7 @@ A refund represents an amount of money transfered back to the customer for a giv
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -471,7 +471,7 @@ A refund represents an amount of money transfered back to the customer for a giv
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -507,7 +507,7 @@ A refund represents an amount of money transfered back to the customer for a giv
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -552,7 +552,7 @@ A refund represents an amount of money transfered back to the customer for a giv
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -561,7 +561,7 @@ A refund represents an amount of money transfered back to the customer for a giv
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ A region holds settings specific to a geographical location, including the curre
}, },
{ {
"name": "region_id", "name": "region_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The region ID this country is associated with.", "description": "The region ID this country is associated with.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -178,7 +178,7 @@ A region holds settings specific to a geographical location, including the curre
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -326,7 +326,7 @@ A region holds settings specific to a geographical location, including the curre
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -344,7 +344,7 @@ A region holds settings specific to a geographical location, including the curre
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -212,7 +212,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "claim_order_id", "name": "claim_order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the claim that the return may belong to.", "description": "The ID of the claim that the return may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -239,7 +239,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "idempotency_key", "name": "idempotency_key",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Randomly generated key used to continue the completion of the return in case of failure.", "description": "Randomly generated key used to continue the completion of the return in case of failure.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -366,7 +366,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "location_id", "name": "location_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the stock location the return will be added back.", "description": "The ID of the stock location the return will be added back.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -375,7 +375,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -384,7 +384,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "no_notification", "name": "no_notification",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "When set to true, no notification will be sent related to this return.", "description": "When set to true, no notification will be sent related to this return.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -563,7 +563,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -644,7 +644,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -680,7 +680,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -797,7 +797,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -833,7 +833,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -878,7 +878,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -887,7 +887,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -916,7 +916,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "order_id", "name": "order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order that the return was created for.", "description": "The ID of the order that the return was created for.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -987,7 +987,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "claim_order_id", "name": "claim_order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the claim that the shipping method is used in.", "description": "The ID of the claim that the shipping method is used in.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1151,7 +1151,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
"children": [ "children": [
{ {
"name": "CANCELED", "name": "CANCELED",
"type": "``\"canceled\"``", "type": "`\"canceled\"`",
"description": "The return is canceled.", "description": "The return is canceled.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -1160,7 +1160,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "RECEIVED", "name": "RECEIVED",
"type": "``\"received\"``", "type": "`\"received\"`",
"description": "The return is received.", "description": "The return is received.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -1169,7 +1169,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "REQUESTED", "name": "REQUESTED",
"type": "``\"requested\"``", "type": "`\"requested\"`",
"description": "The return is requested.", "description": "The return is requested.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -1178,7 +1178,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "REQUIRES_ACTION", "name": "REQUIRES_ACTION",
"type": "``\"requires_action\"``", "type": "`\"requires_action\"`",
"description": "The return is awaiting action.", "description": "The return is awaiting action.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -1260,7 +1260,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1415,7 +1415,7 @@ A Return holds information about Line Items that a Customer wishes to send back,
}, },
{ {
"name": "swap_id", "name": "swap_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the swap that the return may belong to.", "description": "The ID of the swap that the return may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A more detailed description of the contents of the Line Item.", "description": "A more detailed description of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "discount_total", "name": "discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item rounded", "description": "The total of discount of the line item rounded",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -111,7 +111,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "fulfilled_quantity", "name": "fulfilled_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been fulfilled.", "description": "The quantity of the Line Item that has been fulfilled.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -120,7 +120,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "gift_card_total", "name": "gift_card_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of the gift card of the line item", "description": "The total of the gift card of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -129,7 +129,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "has_shipping", "name": "has_shipping",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "Flag to indicate if the Line Item has fulfillment associated with it.", "description": "Flag to indicate if the Line Item has fulfillment associated with it.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "order_edit", "name": "order_edit",
"type": "``null`` \\| [OrderEdit](OrderEdit.mdx)", "type": "`null` \\| [OrderEdit](OrderEdit.mdx)",
"description": "The details of the order edit.", "description": "The details of the order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -202,7 +202,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "order_edit_id", "name": "order_edit_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order edit that the item may belong to.", "description": "The ID of the order edit that the item may belong to.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -211,7 +211,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "order_id", "name": "order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order that the line item may belongs to.", "description": "The ID of the order that the line item may belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -220,7 +220,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "original_item_id", "name": "original_item_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.", "description": "The ID of the original line item. This is useful if the line item belongs to a resource that references an order, such as a return or an order edit.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -229,7 +229,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "original_tax_total", "name": "original_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original tax total amount of the line item", "description": "The original tax total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -238,7 +238,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "original_total", "name": "original_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The original total amount of the line item", "description": "The original total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -247,7 +247,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "product_id", "name": "product_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -265,7 +265,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "raw_discount_total", "name": "raw_discount_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of discount of the line item", "description": "The total of discount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -274,7 +274,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "refundable", "name": "refundable",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.", "description": "The amount that can be refunded from the given Line Item. Takes taxes and discounts into consideration.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -283,7 +283,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "returned_quantity", "name": "returned_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been returned.", "description": "The quantity of the Line Item that has been returned.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -292,7 +292,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "shipped_quantity", "name": "shipped_quantity",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The quantity of the Line Item that has been shipped.", "description": "The quantity of the Line Item that has been shipped.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -310,7 +310,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "subtotal", "name": "subtotal",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The subtotal of the line item", "description": "The subtotal of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -346,7 +346,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax of the line item", "description": "The total of tax of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -355,7 +355,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL string to a small image of the contents of the Line Item.", "description": "A URL string to a small image of the contents of the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -373,7 +373,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "total", "name": "total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total amount of the line item", "description": "The total amount of the line item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -409,7 +409,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "variant_id", "name": "variant_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The id of the Product Variant contained in the Line Item.", "description": "The id of the Product Variant contained in the Line Item.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -473,7 +473,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -518,7 +518,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "parent_return_reason", "name": "parent_return_reason",
"type": "``null`` \\| [ReturnReason](ReturnReason.mdx)", "type": "`null` \\| [ReturnReason](ReturnReason.mdx)",
"description": "The details of the parent reason.", "description": "The details of the parent reason.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -527,7 +527,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "parent_return_reason_id", "name": "parent_return_reason_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the parent reason.", "description": "The ID of the parent reason.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -618,7 +618,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "claim_order_id", "name": "claim_order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the claim that the return may belong to.", "description": "The ID of the claim that the return may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -645,7 +645,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "idempotency_key", "name": "idempotency_key",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Randomly generated key used to continue the completion of the return in case of failure.", "description": "Randomly generated key used to continue the completion of the return in case of failure.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -663,7 +663,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "location_id", "name": "location_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the stock location the return will be added back.", "description": "The ID of the stock location the return will be added back.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -672,7 +672,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -681,7 +681,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "no_notification", "name": "no_notification",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "When set to true, no notification will be sent related to this return.", "description": "When set to true, no notification will be sent related to this return.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -699,7 +699,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "order_id", "name": "order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order that the return was created for.", "description": "The ID of the order that the return was created for.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -762,7 +762,7 @@ A return item represents a line item in an order that is to be returned. It incl
}, },
{ {
"name": "swap_id", "name": "swap_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the swap that the return may belong to.", "description": "The ID of the swap that the return may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Return Reason is a value defined by an admin. It can be used on Return Items i
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -67,7 +67,7 @@ A Return Reason is a value defined by an admin. It can be used on Return Items i
}, },
{ {
"name": "parent_return_reason", "name": "parent_return_reason",
"type": "``null`` \\| [ReturnReason](ReturnReason.mdx)", "type": "`null` \\| [ReturnReason](ReturnReason.mdx)",
"description": "The details of the parent reason.", "description": "The details of the parent reason.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ A Return Reason is a value defined by an admin. It can be used on Return Items i
}, },
{ {
"name": "parent_return_reason_id", "name": "parent_return_reason_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the parent reason.", "description": "The ID of the parent reason.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A Return Reason is a value defined by an admin. It can be used on Return Items i
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -147,7 +147,7 @@ A Return Reason is a value defined by an admin. It can be used on Return Items i
}, },
{ {
"name": "parent_return_reason", "name": "parent_return_reason",
"type": "``null`` \\| [ReturnReason](ReturnReason.mdx)", "type": "`null` \\| [ReturnReason](ReturnReason.mdx)",
"description": "The details of the parent reason.", "description": "The details of the parent reason.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -156,7 +156,7 @@ A Return Reason is a value defined by an admin. It can be used on Return Items i
}, },
{ {
"name": "parent_return_reason_id", "name": "parent_return_reason_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the parent reason.", "description": "The ID of the parent reason.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Sales Channel is a method a business offers its products for purchase for the
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -31,7 +31,7 @@ A Sales Channel is a method a business offers its products for purchase for the
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the sales channel.", "description": "The description of the sales channel.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -75,7 +75,7 @@ A Sales Channel is a method a business offers its products for purchase for the
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -131,7 +131,7 @@ A Sales Channel is a method a business offers its products for purchase for the
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ This represents the association between a sales channel and a stock locations.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -66,7 +66,7 @@ This represents the association between a sales channel and a stock locations.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -75,7 +75,7 @@ This represents the association between a sales channel and a stock locations.
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the sales channel.", "description": "The description of the sales channel.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -111,7 +111,7 @@ This represents the association between a sales channel and a stock locations.
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -84,7 +84,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -165,7 +165,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of items with taxes", "description": "The total of items with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -192,7 +192,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "object", "name": "object",
"type": "``\"cart\"``", "type": "`\"cart\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"cart\"", "defaultValue": "\"cart\"",
@@ -228,7 +228,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "payment_session", "name": "payment_session",
"type": "``null`` \\| [PaymentSession](PaymentSession.mdx)", "type": "`null` \\| [PaymentSession](PaymentSession.mdx)",
"description": "The details of the selected payment session in the cart.", "description": "The details of the selected payment session in the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -300,7 +300,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The sales channel ID the cart is associated with.", "description": "The sales channel ID the cart is associated with.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -309,7 +309,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "shipping_address", "name": "shipping_address",
"type": "``null`` \\| [Address](Address.mdx)", "type": "`null` \\| [Address](Address.mdx)",
"description": "The details of the shipping address associated with the cart.", "description": "The details of the shipping address associated with the cart.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -336,7 +336,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of shipping with taxes", "description": "The total of shipping with taxes",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -363,7 +363,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -609,7 +609,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "claim_order_id", "name": "claim_order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the claim that the shipping method is used in.", "description": "The ID of the claim that the shipping method is used in.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -816,7 +816,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of an external order.", "description": "The ID of an external order.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -897,7 +897,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "item_tax_total", "name": "item_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on items", "description": "The tax total applied on items",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -933,7 +933,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "object", "name": "object",
"type": "``\"order\"``", "type": "`\"order\"`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "\"order\"", "defaultValue": "\"order\"",
@@ -1050,7 +1050,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "sales_channel_id", "name": "sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the sales channel this order belongs to.", "description": "The ID of the sales channel this order belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1086,7 +1086,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "shipping_tax_total", "name": "shipping_tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The tax total applied on shipping", "description": "The tax total applied on shipping",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1131,7 +1131,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "tax_rate", "name": "tax_rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The order's tax rate", "description": "The order's tax rate",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1140,7 +1140,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "tax_total", "name": "tax_total",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The total of tax", "description": "The total of tax",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1213,7 +1213,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "claim_order_id", "name": "claim_order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the claim that the return may belong to.", "description": "The ID of the claim that the return may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1240,7 +1240,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "idempotency_key", "name": "idempotency_key",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "Randomly generated key used to continue the completion of the return in case of failure.", "description": "Randomly generated key used to continue the completion of the return in case of failure.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1258,7 +1258,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "location_id", "name": "location_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the stock location the return will be added back.", "description": "The ID of the stock location the return will be added back.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1267,7 +1267,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1276,7 +1276,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "no_notification", "name": "no_notification",
"type": "``null`` \\| `boolean`", "type": "`null` \\| `boolean`",
"description": "When set to true, no notification will be sent related to this return.", "description": "When set to true, no notification will be sent related to this return.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1294,7 +1294,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "order_id", "name": "order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the order that the return was created for.", "description": "The ID of the order that the return was created for.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1357,7 +1357,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "swap_id", "name": "swap_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the swap that the return may belong to.", "description": "The ID of the swap that the return may belong to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1394,7 +1394,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "amount", "name": "amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.", "description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1421,7 +1421,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1648,7 +1648,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -1820,7 +1820,7 @@ A Shipping Method represents a way in which an Order or Return can be shipped. S
"children": [ "children": [
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -13,7 +13,7 @@ A Shipping Method Tax Line represents the taxes applied on a shipping method in
<ParameterTypes parameters={[ <ParameterTypes parameters={[
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A Shipping Method Tax Line represents the taxes applied on a shipping method in
}, },
{ {
"name": "claim_order_id", "name": "claim_order_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the claim that the shipping method is used in.", "description": "The ID of the claim that the shipping method is used in.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "amount", "name": "amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.", "description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -49,7 +49,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -112,7 +112,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
"children": [ "children": [
{ {
"name": "CALCULATED", "name": "CALCULATED",
"type": "``\"calculated\"``", "type": "`\"calculated\"`",
"description": "The shipping option's price is calculated. In this case, the `amount` field is typically `null`.", "description": "The shipping option's price is calculated. In this case, the `amount` field is typically `null`.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -121,7 +121,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "FLAT_RATE", "name": "FLAT_RATE",
"type": "``\"flat_rate\"``", "type": "`\"flat_rate\"`",
"description": "The shipping option's price is a flat rate.", "description": "The shipping option's price is a flat rate.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -149,7 +149,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -322,7 +322,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -413,7 +413,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -431,7 +431,7 @@ A Shipping Option represents a way in which an Order or Return can be shipped. S
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ A shipping option requirement defines conditions that a Cart must satisfy for th
}, },
{ {
"name": "amount", "name": "amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.", "description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -84,7 +84,7 @@ A shipping option requirement defines conditions that a Cart must satisfy for th
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -239,7 +239,7 @@ A shipping option requirement defines conditions that a Cart must satisfy for th
"children": [ "children": [
{ {
"name": "MAX_SUBTOTAL", "name": "MAX_SUBTOTAL",
"type": "``\"max_subtotal\"``", "type": "`\"max_subtotal\"`",
"description": "The shipping option can only be applied if the subtotal is less than the requirement's amont.", "description": "The shipping option can only be applied if the subtotal is less than the requirement's amont.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -248,7 +248,7 @@ A shipping option requirement defines conditions that a Cart must satisfy for th
}, },
{ {
"name": "MIN_SUBTOTAL", "name": "MIN_SUBTOTAL",
"type": "``\"min_subtotal\"``", "type": "`\"min_subtotal\"`",
"description": "The shipping option can only be applied if the subtotal is greater than the requirement's amount.", "description": "The shipping option can only be applied if the subtotal is greater than the requirement's amount.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -85,7 +85,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -112,7 +112,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -130,7 +130,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -139,7 +139,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -148,7 +148,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -157,7 +157,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -193,7 +193,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -202,7 +202,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -211,7 +211,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -220,7 +220,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -238,7 +238,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -292,7 +292,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -310,7 +310,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -337,7 +337,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -364,7 +364,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -373,7 +373,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -401,7 +401,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "amount", "name": "amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.", "description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -428,7 +428,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -574,7 +574,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
"children": [ "children": [
{ {
"name": "CUSTOM", "name": "CUSTOM",
"type": "``\"custom\"``", "type": "`\"custom\"`",
"description": "The profile used to ship custom items.", "description": "The profile used to ship custom items.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -583,7 +583,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "DEFAULT", "name": "DEFAULT",
"type": "``\"default\"``", "type": "`\"default\"`",
"description": "The default profile used to ship item.", "description": "The default profile used to ship item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -592,7 +592,7 @@ A Shipping Profile has a set of defined Shipping Options that can be used to ful
}, },
{ {
"name": "GIFT_CARD", "name": "GIFT_CARD",
"type": "``\"gift_card\"``", "type": "`\"gift_card\"`",
"description": "The profile used to ship gift cards.", "description": "The profile used to ship gift cards.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -57,7 +57,7 @@ This represents the tax rates applied on a shipping option.
}, },
{ {
"name": "amount", "name": "amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.", "description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -84,7 +84,7 @@ This represents the tax rates applied on a shipping option.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -239,7 +239,7 @@ This represents the tax rates applied on a shipping option.
"children": [ "children": [
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -320,7 +320,7 @@ This represents the tax rates applied on a shipping option.
}, },
{ {
"name": "rate", "name": "rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The numeric rate to charge", "description": "The numeric rate to charge",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ Base abstract entity for all entities
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "", "description": "",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -169,7 +169,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -178,7 +178,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the sales channel.", "description": "The description of the sales channel.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -214,7 +214,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -243,7 +243,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "default_sales_channel_id", "name": "default_sales_channel_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the store's default sales channel.", "description": "The ID of the store's default sales channel.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -261,7 +261,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "invite_link_template", "name": "invite_link_template",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A template to generate Invite links from", "description": "A template to generate Invite links from",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -270,7 +270,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -288,7 +288,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "payment_link_template", "name": "payment_link_template",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A template to generate Payment links from. Use &#123;&#123;cart\\_id&#125;&#125; to include the payment's `cart\\_id` in the link.", "description": "A template to generate Payment links from. Use &#123;&#123;cart\\_id&#125;&#125; to include the payment's `cart\\_id` in the link.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -297,7 +297,7 @@ A store holds the main settings of the commerce shop. By default, only one store
}, },
{ {
"name": "swap_link_template", "name": "swap_link_template",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A template to generate Swap links from. Use &#123;&#123;cart\\_id&#125;&#125; to include the Swap's `cart\\_id` in the link.", "description": "A template to generate Swap links from. Use &#123;&#123;cart\\_id&#125;&#125; to include the Swap's `cart\\_id` in the link.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ A swap can be created when a Customer wishes to exchange Products that they have
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -13,7 +13,7 @@ A tax line represents the taxes amount applied to a line item.
<ParameterTypes parameters={[ <ParameterTypes parameters={[
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -13,7 +13,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
<ParameterTypes parameters={[ <ParameterTypes parameters={[
{ {
"name": "code", "name": "code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A code to identify the tax type by", "description": "A code to identify the tax type by",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -93,7 +93,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -167,7 +167,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "collection_id", "name": "collection_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product collection that the product belongs to.", "description": "The ID of the product collection that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -185,7 +185,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -194,7 +194,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A short description of the Product.", "description": "A short description of the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -212,7 +212,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "external_id", "name": "external_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The external ID of the product", "description": "The external ID of the product",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -221,7 +221,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "handle", "name": "handle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A unique identifier for the Product (e.g. for slug structure).", "description": "A unique identifier for the Product (e.g. for slug structure).",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -230,7 +230,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the Product Variant. May be used in shipping rate calculations.", "description": "The height of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -239,7 +239,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -275,7 +275,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the Product Variant. May be used in shipping rate calculations.", "description": "The length of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -284,7 +284,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Product Variant is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -293,7 +293,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -302,7 +302,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Product Variant. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -320,7 +320,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Product Variant was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -374,7 +374,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "subtitle", "name": "subtitle",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "An optional subtitle that can be used to further specify the Product.", "description": "An optional subtitle that can be used to further specify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -392,7 +392,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "A URL to an image file that can be used to identify the Product.", "description": "A URL to an image file that can be used to identify the Product.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -419,7 +419,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "type_id", "name": "type_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the product type that the product belongs to.", "description": "The ID of the product type that the product belongs to.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -446,7 +446,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the Product Variant. May be used in shipping rate calculations.", "description": "The weight of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -455,7 +455,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the Product Variant. May be used in shipping rate calculations.", "description": "The width of the Product Variant. May be used in shipping rate calculations.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -466,7 +466,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "rate", "name": "rate",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The numeric rate to charge", "description": "The numeric rate to charge",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -528,7 +528,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -619,7 +619,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "tax_provider_id", "name": "tax_provider_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the tax provider used in this region", "description": "The ID of the tax provider used in this region",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -637,7 +637,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "tax_rates", "name": "tax_rates",
"type": "``null`` \\| [TaxRate](TaxRate.mdx)[]", "type": "`null` \\| [TaxRate](TaxRate.mdx)[]",
"description": "The details of the tax rates used in the region, aside from the default rate.", "description": "The details of the tax rates used in the region, aside from the default rate.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -692,7 +692,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "amount", "name": "amount",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.", "description": "The amount to charge for shipping when the Shipping Option price type is `flat\\_rate`.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -719,7 +719,7 @@ A Tax Rate can be used to define a custom rate to charge on specified products,
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ A tracking link holds information about tracking numbers for a Fulfillment. Trac
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -111,7 +111,7 @@ A tracking link holds information about tracking numbers for a Fulfillment. Trac
}, },
{ {
"name": "location_id", "name": "location_id",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The ID of the stock location the fulfillment will be shipped from", "description": "The ID of the stock location the fulfillment will be shipped from",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -31,7 +31,7 @@ A User is an administrator who can manage store settings and data.
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "``null`` \\| `Date`", "type": "`null` \\| `Date`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -102,7 +102,7 @@ A User is an administrator who can manage store settings and data.
"children": [ "children": [
{ {
"name": "ADMIN", "name": "ADMIN",
"type": "``\"admin\"``", "type": "`\"admin\"`",
"description": "The user is an admin.", "description": "The user is an admin.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -111,7 +111,7 @@ A User is an administrator who can manage store settings and data.
}, },
{ {
"name": "DEVELOPER", "name": "DEVELOPER",
"type": "``\"developer\"``", "type": "`\"developer\"`",
"description": "The user is a developer.", "description": "The user is a developer.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -120,7 +120,7 @@ A User is an administrator who can manage store settings and data.
}, },
{ {
"name": "MEMBER", "name": "MEMBER",
"type": "``\"member\"``", "type": "`\"member\"`",
"description": "The user is a team member.", "description": "The user is a team member.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -6,20 +6,14 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
# PriceListStatus # PriceListStatus
The status of a price list.
## Enumeration Members ## Enumeration Members
### ACTIVE ### ACTIVE
**ACTIVE** = `"active"` **ACTIVE** = `"active"`
The price list is active, meaning its prices are applied to customers.
___ ___
### DRAFT ### DRAFT
**DRAFT** = `"draft"` **DRAFT** = `"draft"`
The price list is a draft, meaning its not yet applied to customers.
@@ -6,20 +6,14 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
# PriceListType # PriceListType
The type of price list.
## Enumeration Members ## Enumeration Members
### OVERRIDE ### OVERRIDE
**OVERRIDE** = `"override"` **OVERRIDE** = `"override"`
The price list is used to override original prices for specific conditions.
___ ___
### SALE ### SALE
**SALE** = `"sale"` **SALE** = `"sale"`
The price list is used for a sale.
@@ -126,7 +126,7 @@ async function adjustInventory (
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -171,7 +171,7 @@ async function adjustInventory (
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -46,7 +46,7 @@ async function createInventoryItem (item: {
"children": [ "children": [
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the inventory item.", "description": "The description of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -55,7 +55,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the inventory item.", "description": "The height of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -64,7 +64,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The HS code of the inventory item.", "description": "The HS code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -73,7 +73,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the inventory item.", "description": "The length of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -82,7 +82,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material of the inventory item.", "description": "The material of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -91,7 +91,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -100,7 +100,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The MID code of the inventory item.", "description": "The MID code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -109,7 +109,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The origin country of the inventory item.", "description": "The origin country of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -119,7 +119,7 @@ async function createInventoryItem (item: {
{ {
"name": "requires_shipping", "name": "requires_shipping",
"type": "`boolean`", "type": "`boolean`",
"description": "", "description": "Whether the inventory item requires shipping.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -127,7 +127,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The SKU of the inventory item.", "description": "The SKU of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -136,7 +136,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The thumbnail of the inventory item.", "description": "The thumbnail of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -145,7 +145,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "title", "name": "title",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The title of the inventory item.", "description": "The title of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -154,7 +154,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the inventory item.", "description": "The weight of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -163,7 +163,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the inventory item.", "description": "The width of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -232,7 +232,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -241,7 +241,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "description", "name": "description",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Description of the inventory item", "description": "Description of the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -250,7 +250,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "height", "name": "height",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The height of the Inventory Item. May be used in shipping rate calculations.", "description": "The height of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -259,7 +259,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -277,7 +277,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "length", "name": "length",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The length of the Inventory Item. May be used in shipping rate calculations.", "description": "The length of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -286,7 +286,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "material", "name": "material",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -295,7 +295,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -304,7 +304,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -313,7 +313,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -331,7 +331,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "sku", "name": "sku",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Stock Keeping Unit (SKU) code of the Inventory Item.", "description": "The Stock Keeping Unit (SKU) code of the Inventory Item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -340,7 +340,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Thumbnail for the inventory item", "description": "Thumbnail for the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -349,7 +349,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "title", "name": "title",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Title of the inventory item", "description": "Title of the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -367,7 +367,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "weight", "name": "weight",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The weight of the Inventory Item. May be used in shipping rate calculations.", "description": "The weight of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -376,7 +376,7 @@ async function createInventoryItem (item: {
}, },
{ {
"name": "width", "name": "width",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The width of the Inventory Item. May be used in shipping rate calculations.", "description": "The width of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -46,7 +46,7 @@ async function createInventoryItems (items: {
"children": [ "children": [
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the inventory item.", "description": "The description of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -55,7 +55,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the inventory item.", "description": "The height of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -64,7 +64,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The HS code of the inventory item.", "description": "The HS code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -73,7 +73,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the inventory item.", "description": "The length of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -82,7 +82,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material of the inventory item.", "description": "The material of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -91,7 +91,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -100,7 +100,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The MID code of the inventory item.", "description": "The MID code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -109,7 +109,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The origin country of the inventory item.", "description": "The origin country of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -119,7 +119,7 @@ async function createInventoryItems (items: {
{ {
"name": "requires_shipping", "name": "requires_shipping",
"type": "`boolean`", "type": "`boolean`",
"description": "", "description": "Whether the inventory item requires shipping.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -127,7 +127,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The SKU of the inventory item.", "description": "The SKU of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -136,7 +136,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The thumbnail of the inventory item.", "description": "The thumbnail of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -145,7 +145,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "title", "name": "title",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The title of the inventory item.", "description": "The title of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -154,7 +154,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the inventory item.", "description": "The weight of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -163,7 +163,7 @@ async function createInventoryItems (items: {
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the inventory item.", "description": "The width of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -152,7 +152,7 @@ async function createInventoryLevel (item: {
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -197,7 +197,7 @@ async function createInventoryLevel (item: {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -101,7 +101,7 @@ async function createReservationItem (item: {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -179,7 +179,7 @@ async function createReservationItem (item: {
}, },
{ {
"name": "created_by", "name": "created_by",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "UserId of user who created the reservation item", "description": "UserId of user who created the reservation item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -188,7 +188,7 @@ async function createReservationItem (item: {
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -197,7 +197,7 @@ async function createReservationItem (item: {
}, },
{ {
"name": "description", "name": "description",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Description of the reservation item", "description": "Description of the reservation item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -224,7 +224,7 @@ async function createReservationItem (item: {
}, },
{ {
"name": "line_item_id", "name": "line_item_id",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -242,7 +242,7 @@ async function createReservationItem (item: {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -101,7 +101,7 @@ async function createReservationItems (items: {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -194,7 +194,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -203,7 +203,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "description", "name": "description",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Description of the inventory item", "description": "Description of the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -212,7 +212,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "height", "name": "height",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The height of the Inventory Item. May be used in shipping rate calculations.", "description": "The height of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -221,7 +221,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -239,7 +239,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "length", "name": "length",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The length of the Inventory Item. May be used in shipping rate calculations.", "description": "The length of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -248,7 +248,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "material", "name": "material",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -257,7 +257,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -266,7 +266,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -275,7 +275,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -293,7 +293,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "sku", "name": "sku",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Stock Keeping Unit (SKU) code of the Inventory Item.", "description": "The Stock Keeping Unit (SKU) code of the Inventory Item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -302,7 +302,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Thumbnail for the inventory item", "description": "Thumbnail for the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -311,7 +311,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "title", "name": "title",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Title of the inventory item", "description": "Title of the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -329,7 +329,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "weight", "name": "weight",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The weight of the Inventory Item. May be used in shipping rate calculations.", "description": "The weight of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -338,7 +338,7 @@ async function retrieveInventoryItem (id: string) {
}, },
{ {
"name": "width", "name": "width",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The width of the Inventory Item. May be used in shipping rate calculations.", "description": "The width of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -115,7 +115,7 @@ async function retrieveInventoryLevel (
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -160,7 +160,7 @@ async function retrieveInventoryLevel (
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -100,7 +100,7 @@ async function retrieveReservationItem (id: string) {
}, },
{ {
"name": "created_by", "name": "created_by",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "UserId of user who created the reservation item", "description": "UserId of user who created the reservation item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -109,7 +109,7 @@ async function retrieveReservationItem (id: string) {
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -118,7 +118,7 @@ async function retrieveReservationItem (id: string) {
}, },
{ {
"name": "description", "name": "description",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Description of the reservation item", "description": "Description of the reservation item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -145,7 +145,7 @@ async function retrieveReservationItem (id: string) {
}, },
{ {
"name": "line_item_id", "name": "line_item_id",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -163,7 +163,7 @@ async function retrieveReservationItem (id: string) {
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -58,7 +58,7 @@ async function updateInventoryItem (
"children": [ "children": [
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the inventory item.", "description": "The description of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -67,7 +67,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the inventory item.", "description": "The height of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The HS code of the inventory item.", "description": "The HS code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -85,7 +85,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the inventory item.", "description": "The length of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -94,7 +94,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material of the inventory item.", "description": "The material of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -112,7 +112,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The MID code of the inventory item.", "description": "The MID code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -121,7 +121,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The origin country of the inventory item.", "description": "The origin country of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -131,7 +131,7 @@ async function updateInventoryItem (
{ {
"name": "requires_shipping", "name": "requires_shipping",
"type": "`boolean`", "type": "`boolean`",
"description": "", "description": "Whether the inventory item requires shipping.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -139,7 +139,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The SKU of the inventory item.", "description": "The SKU of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -148,7 +148,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The thumbnail of the inventory item.", "description": "The thumbnail of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -157,7 +157,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "title", "name": "title",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The title of the inventory item.", "description": "The title of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -166,7 +166,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the inventory item.", "description": "The weight of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -175,7 +175,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the inventory item.", "description": "The width of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -244,7 +244,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -253,7 +253,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "description", "name": "description",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Description of the inventory item", "description": "Description of the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -262,7 +262,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "height", "name": "height",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The height of the Inventory Item. May be used in shipping rate calculations.", "description": "The height of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -271,7 +271,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Harmonized System code of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -289,7 +289,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "length", "name": "length",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The length of the Inventory Item. May be used in shipping rate calculations.", "description": "The length of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -298,7 +298,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "material", "name": "material",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The material and composition that the Inventory Item is made of, May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -307,7 +307,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -316,7 +316,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The Manufacturers Identification code that identifies the manufacturer of the Inventory Item. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -325,7 +325,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.", "description": "The country in which the Inventory Item was produced. May be used by Fulfillment Providers to pass customs information to shipping carriers.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -343,7 +343,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "sku", "name": "sku",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "The Stock Keeping Unit (SKU) code of the Inventory Item.", "description": "The Stock Keeping Unit (SKU) code of the Inventory Item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -352,7 +352,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Thumbnail for the inventory item", "description": "Thumbnail for the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -361,7 +361,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "title", "name": "title",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Title of the inventory item", "description": "Title of the inventory item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -379,7 +379,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "weight", "name": "weight",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The weight of the Inventory Item. May be used in shipping rate calculations.", "description": "The weight of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -388,7 +388,7 @@ async function updateInventoryItem (
}, },
{ {
"name": "width", "name": "width",
"type": "`number` \\| ``null``", "type": "`number` \\| `null`",
"description": "The width of the Inventory Item. May be used in shipping rate calculations.", "description": "The width of the Inventory Item. May be used in shipping rate calculations.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -147,7 +147,7 @@ async function updateInventoryLevel (
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -192,7 +192,7 @@ async function updateInventoryLevel (
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -48,7 +48,7 @@ async function updateInventoryLevels (items: {
{ {
"name": "incoming_quantity", "name": "incoming_quantity",
"type": "`number`", "type": "`number`",
"description": "", "description": "The incoming quantity of the associated inventory item in the associated location.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -75,7 +75,7 @@ async function updateInventoryLevels (items: {
{ {
"name": "stocked_quantity", "name": "stocked_quantity",
"type": "`number`", "type": "`number`",
"description": "", "description": "The stocked quantity of the associated inventory item in the associated location.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -76,7 +76,7 @@ async function updateReservationItem (
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -154,7 +154,7 @@ async function updateReservationItem (
}, },
{ {
"name": "created_by", "name": "created_by",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "UserId of user who created the reservation item", "description": "UserId of user who created the reservation item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -163,7 +163,7 @@ async function updateReservationItem (
}, },
{ {
"name": "deleted_at", "name": "deleted_at",
"type": "`string` \\| `Date` \\| ``null``", "type": "`string` \\| `Date` \\| `null`",
"description": "The date with timezone at which the resource was deleted.", "description": "The date with timezone at which the resource was deleted.",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -172,7 +172,7 @@ async function updateReservationItem (
}, },
{ {
"name": "description", "name": "description",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "Description of the reservation item", "description": "Description of the reservation item",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -199,7 +199,7 @@ async function updateReservationItem (
}, },
{ {
"name": "line_item_id", "name": "line_item_id",
"type": "`string` \\| ``null``", "type": "`string` \\| `null`",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -217,7 +217,7 @@ async function updateReservationItem (
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "`Record<string, unknown>` \\| ``null``", "type": "`Record<string, unknown>` \\| `null`",
"description": "An optional key-value map with additional details", "description": "An optional key-value map with additional details",
"optional": false, "optional": false,
"defaultValue": "", "defaultValue": "",
@@ -14,7 +14,7 @@ The attributes to update in an inventory level. The inventory level is identifie
{ {
"name": "incoming_quantity", "name": "incoming_quantity",
"type": "`number`", "type": "`number`",
"description": "", "description": "The incoming quantity of the associated inventory item in the associated location.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -41,7 +41,7 @@ The attributes to update in an inventory level. The inventory level is identifie
{ {
"name": "stocked_quantity", "name": "stocked_quantity",
"type": "`number`", "type": "`number`",
"description": "", "description": "The stocked quantity of the associated inventory item in the associated location.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -13,7 +13,7 @@ The details of the inventory item to be created.
<ParameterTypes parameters={[ <ParameterTypes parameters={[
{ {
"name": "description", "name": "description",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The description of the inventory item.", "description": "The description of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -22,7 +22,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "height", "name": "height",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The height of the inventory item.", "description": "The height of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -31,7 +31,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "hs_code", "name": "hs_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The HS code of the inventory item.", "description": "The HS code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -40,7 +40,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "length", "name": "length",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The length of the inventory item.", "description": "The length of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -49,7 +49,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "material", "name": "material",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The material of the inventory item.", "description": "The material of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -58,7 +58,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -67,7 +67,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "mid_code", "name": "mid_code",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The MID code of the inventory item.", "description": "The MID code of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -76,7 +76,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "origin_country", "name": "origin_country",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The origin country of the inventory item.", "description": "The origin country of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -86,7 +86,7 @@ The details of the inventory item to be created.
{ {
"name": "requires_shipping", "name": "requires_shipping",
"type": "`boolean`", "type": "`boolean`",
"description": "", "description": "Whether the inventory item requires shipping.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
"expandable": false, "expandable": false,
@@ -94,7 +94,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "sku", "name": "sku",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The SKU of the inventory item.", "description": "The SKU of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -103,7 +103,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "thumbnail", "name": "thumbnail",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The thumbnail of the inventory item.", "description": "The thumbnail of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -112,7 +112,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "title", "name": "title",
"type": "``null`` \\| `string`", "type": "`null` \\| `string`",
"description": "The title of the inventory item.", "description": "The title of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -121,7 +121,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "weight", "name": "weight",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The weight of the inventory item.", "description": "The weight of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -130,7 +130,7 @@ The details of the inventory item to be created.
}, },
{ {
"name": "width", "name": "width",
"type": "``null`` \\| `number`", "type": "`null` \\| `number`",
"description": "The width of the inventory item.", "description": "The width of the inventory item.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -67,7 +67,7 @@ The details of the reservation item to be created.
}, },
{ {
"name": "metadata", "name": "metadata",
"type": "``null`` \\| `Record<string, unknown>`", "type": "`null` \\| `Record<string, unknown>`",
"description": "Holds custom data in key-value pairs.", "description": "Holds custom data in key-value pairs.",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
@@ -29,7 +29,7 @@ import ParameterTypes from "@site/src/components/ParameterTypes"
}, },
{ {
"name": "extends", "name": "extends",
"type": "`&#123; relationship: [JoinerRelationship](../types/JoinerRelationship.mdx) ; serviceName: string &#125;`[]", "type": "``{ relationship: [JoinerRelationship](../types/JoinerRelationship.mdx) ; serviceName: string }``[]",
"description": "", "description": "",
"optional": true, "optional": true,
"defaultValue": "", "defaultValue": "",
Loaded 100 of 869 files, more files were not shown because too many files have changed in this diff. Show more