Schemas
Status
The one and only member of an error body — there is never a partial resource beside it.
AccountRole
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe role's name, as member pickers show it — unique in the account, surrounding spaces dropped, at most 100 characters. A second role of the same name is ALREADY_EXISTS. The list is ordered by it.
descriptionWhat the role is for, in a sentence a member picker can show next to the choice; at most 1000 characters, empty when there is none.
grantsWhat the role holds, as {permission, level} — a section id from permissions and READ or WRITE. A grant covers the section's whole subtree and brings its implies along. Every member holding the role holds exactly these, and a change counts from their next request. Nobody may define a role wider than their own: that is PERMISSION_DENIED.
member_countHow many members of the account hold the role now. A role that a member holds, or that an invitation names, cannot be deleted.
AccountRoleCreate
display_nameThe role's name, as member pickers show it — unique in the account, surrounding spaces dropped, at most 100 characters. A second role of the same name is ALREADY_EXISTS. The list is ordered by it.
descriptionWhat the role is for, in a sentence a member picker can show next to the choice; at most 1000 characters, empty when there is none.
grantsWhat the role holds, as {permission, level} — a section id from permissions and READ or WRITE. A grant covers the section's whole subtree and brings its implies along. Every member holding the role holds exactly these, and a change counts from their next request. Nobody may define a role wider than their own: that is PERMISSION_DENIED.
AccountRoleUpdate
display_nameThe role's name, as member pickers show it — unique in the account, surrounding spaces dropped, at most 100 characters. A second role of the same name is ALREADY_EXISTS. The list is ordered by it.
descriptionWhat the role is for, in a sentence a member picker can show next to the choice; at most 1000 characters, empty when there is none.
grantsWhat the role holds, as {permission, level} — a section id from permissions and READ or WRITE. A grant covers the section's whole subtree and brings its implies along. Every member holding the role holds exactly these, and a change counts from their next request. Nobody may define a role wider than their own: that is PERMISSION_DENIED.
Invitation
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
emailThe address the invitation is mailed to, stored lowercase. One pending invitation per address: inviting it again, or inviting a member's address, is ALREADY_EXISTS. The list is ordered by it.
roleThe role the membership will hold once the invitation is accepted: roles/admin, roles/editor or roles/sections (see roles), or one of the account's own, accounts/{account}/roles/{role}. Nobody may invite with a role wider than their own: that is PERMISSION_DENIED.
grantsThe sections a roles/sections invitation grants, as {permission, level} — a section id from permissions and READ or WRITE. Empty, and refused when sent, under any other role. Nobody may grant a section they do not hold themselves.
inviterThe member who sent the invitation, as users/{user}; absent once that user no longer exists.
statePENDING until expire_time, then EXPIRED: the link no longer works, but the invitation stays listed for 30 days so it can be sent again with :resend — or withdrawn. An accepted invitation is gone.
expire_timeWhen the link stops working: 7 days after the invitation was sent, or sent again.
InvitationCreate
emailThe address the invitation is mailed to, stored lowercase. One pending invitation per address: inviting it again, or inviting a member's address, is ALREADY_EXISTS. The list is ordered by it.
roleThe role the membership will hold once the invitation is accepted: roles/admin, roles/editor or roles/sections (see roles), or one of the account's own, accounts/{account}/roles/{role}. Nobody may invite with a role wider than their own: that is PERMISSION_DENIED.
grantsThe sections a roles/sections invitation grants, as {permission, level} — a section id from permissions and READ or WRITE. Empty, and refused when sent, under any other role. Nobody may grant a section they do not hold themselves.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used in this account returns the invitation that key created, and mails nothing.
InvitationUpdate
emailThe address the invitation is mailed to, stored lowercase. One pending invitation per address: inviting it again, or inviting a member's address, is ALREADY_EXISTS. The list is ordered by it.
roleThe role the membership will hold once the invitation is accepted: roles/admin, roles/editor or roles/sections (see roles), or one of the account's own, accounts/{account}/roles/{role}. Nobody may invite with a role wider than their own: that is PERMISSION_DENIED.
grantsThe sections a roles/sections invitation grants, as {permission, level} — a section id from permissions and READ or WRITE. Empty, and refused when sent, under any other role. Nobody may grant a section they do not hold themselves.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used in this account returns the invitation that key created, and mails nothing.
Member
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
userThe member, as users/{user} — the same name the account's owner uses. The last segment is also this membership's id.
emailThe member's email address, from their user profile. The list is ordered by it.
firstnameThe member's first name, from their user profile; absent when they gave none.
lastnameThe member's last name, from their user profile; absent when they gave none.
roleThe membership's role: roles/admin, roles/editor or roles/sections (see roles), or one of the account's own, accounts/{account}/roles/{role} — never another account's. The owner's membership reads roles/admin — dormant while they own the account, and what they keep after handing it over — and cannot be changed. Nobody may give a role wider than their own: that is PERMISSION_DENIED.
grantsThe sections a roles/sections membership holds, as {permission, level} — a section id from permissions and READ or WRITE. Empty, and refused when sent, under any other role. Nobody may give a grant they do not hold themselves.
is_ownerTrue for the account's one owner, who holds everything whatever the role says. The owner's membership is neither removed nor changed; the account is handed over first (accounts/{account}:transfer_ownership).
effective_grantsWhat the member actually holds, computed on every read: the role's grants — or the membership's own — with implies followed, minimal and in the order of permissions. The owner's are everything. Sections every member may read are readable whatever this says.
MemberCreate
roleThe membership's role: roles/admin, roles/editor or roles/sections (see roles), or one of the account's own, accounts/{account}/roles/{role} — never another account's. The owner's membership reads roles/admin — dormant while they own the account, and what they keep after handing it over — and cannot be changed. Nobody may give a role wider than their own: that is PERMISSION_DENIED.
grantsThe sections a roles/sections membership holds, as {permission, level} — a section id from permissions and READ or WRITE. Empty, and refused when sent, under any other role. Nobody may give a grant they do not hold themselves.
MemberUpdate
roleThe membership's role: roles/admin, roles/editor or roles/sections (see roles), or one of the account's own, accounts/{account}/roles/{role} — never another account's. The owner's membership reads roles/admin — dormant while they own the account, and what they keep after handing it over — and cannot be changed. Nobody may give a role wider than their own: that is PERMISSION_DENIED.
grantsThe sections a roles/sections membership holds, as {permission, level} — a section id from permissions and READ or WRITE. Empty, and refused when sent, under any other role. Nobody may give a grant they do not hold themselves.
Permission
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
parentThe section this one belongs to, as its resource name. Absent on the two roots — account, everything about the account itself, and website, everything inside its websites. A grant on a section covers every section under it.
display_nameThe section's name as a person reads it, in English. tenant-admin shows its own translation, looked up by id, and falls back to this one.
descriptionWhat a grant on this section lets a member do, in a sentence or two a role editor can show as help text.
readable_by_all_membersTrue where every member of the account may read without any grant — everything inside the websites, and the account's settings and projects — so that every picker works under every role. On such a section a READ grant only decides whether it shows in the menu; changing anything still takes WRITE.
impliesThe grants holding this section brings along, as {when, permission, level}: whoever holds when (READ or WRITE) on this section — or on a section above it — holds level on permission too. It is what keeps a narrow role usable: writing a theme uploads its logo, so it brings writing to the media library with it. Empty on most sections.
Role
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe role's name as a person reads it, in English.
descriptionWhat a member with this role may do, in a sentence or two a member picker can show next to the choice.
grantsWhat the role holds, as {permission, level} — computed from permissions on every read rather than stored, so a section a new release adds is in roles/admin and roles/editor the day it ships. Minimal: no grant that another one already covers, and implies already followed. Empty for roles/sections, whose grants are each membership's own.
Account
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe account's label, as the admin shows it in the list of accounts and the user menu.
is_activeWhether the account is in use. An inactive one is invisible on this surface: the list skips it and a read answers NOT_FOUND.
ownerThe member who owns the account, as users/{user}: whoever created it, or the first member of an account made for them. An account has exactly one owner; neither Create nor Update sets it, and only the owner moves it, with :transfer_ownership. The owner may do everything in the account whatever their role says, is the only member who may delete it or hand it over, and can be neither removed from it nor leave it.
AccountCreate
display_nameThe account's label, as the admin shows it in the list of accounts and the user menu.
is_activeWhether the account is in use. An inactive one is invisible on this surface: the list skips it and a read answers NOT_FOUND.
AccountUpdate
display_nameThe account's label, as the admin shows it in the list of accounts and the user menu.
is_activeWhether the account is in use. An inactive one is invisible on this surface: the list skips it and a read answers NOT_FOUND.
AddressFormat
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
country_codeThe country, ISO 3166-1 alpha-2 in uppercase — also the format's id, whatever the case the request named it in.
fieldsThe parts of an address the country uses, in the order it writes them, each {field, required}: field names a field of an address — recipient_name, organization, address_line1, street_number, address_line2, sublocality, city, region, postal_code. A part that is in no entry is one the country does not use; phone is in none.
regionsThe country's first-level subdivisions, in the order a list shows them, each {code, display_name, latin_name?}: code is what an address's region keeps — not always two letters — display_name the name in the country's language, latin_name its Latin spelling where that differs. Empty where the region is free text.
postal_codeThe country's postal code, {pattern?, example?}: pattern a regular expression a whole code matches, case-sensitive — a hint for a form, which the server never checks — and example a valid code. Either is absent where the country has none.
region_labelWhat the country calls its regions, as a kind for a form to translate: STATE, PROVINCE, COUNTY, PREFECTURE, …
postal_code_labelWhat the country calls its postal code, as a kind for a form to translate: POSTAL, ZIP, PIN, EIRCODE.
locality_labelWhat the country calls the place an address is in, as a kind for a form to translate: CITY, DISTRICT, POST_TOWN, SUBURB.
sublocality_labelWhat the country calls the part of the place an address is in, as a kind for a form to translate: SUBURB, NEIGHBORHOOD, DISTRICT, …
AddressFormatUpdate
AiBilling
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
balanceThe AI balance as Money: what runs on the platform's key (MANAGED) are paid from. It is the balance after the latest row of ai_transactions, and it can be negative when runs started together spent past it.
currency_codeThe currency the balance, the limits and every charge are kept in (ISO 4217).
monthly_limitThe most the account may spend on the platform's key in a calendar month (UTC), as Money. A run that could take the month past it is refused before it starts. Leave it unset for no limit.
daily_limitThe most the account may spend on the platform's key in a calendar day (UTC), as Money. A run that could take the day past it is refused before it starts.
max_concurrent_executionsThe most runs the account may have queued or running at once, on any connection — a turn the AI assistant is answering counts as one. A run or a turn started past it is refused with CONCURRENCY_LIMIT_REACHED.
platform_monthly_limitThe platform's monthly ceiling for this account, as Money. It applies over monthly_limit: the lower of the two is the one in force.
platform_daily_limitThe platform's daily ceiling for this account, as Money, in force over daily_limit.
platform_max_concurrent_executionsThe platform's ceiling on runs queued or running at once for this account, in force over max_concurrent_executions.
spend_todayWhat runs on the platform's key were charged today (UTC), as Money — the figure daily_limit is measured against.
spend_mtdWhat runs on the platform's key were charged this calendar month so far (UTC), as Money — the figure monthly_limit is measured against.
AiBillingCreate
monthly_limitThe most the account may spend on the platform's key in a calendar month (UTC), as Money. A run that could take the month past it is refused before it starts. Leave it unset for no limit.
daily_limitThe most the account may spend on the platform's key in a calendar day (UTC), as Money. A run that could take the day past it is refused before it starts.
max_concurrent_executionsThe most runs the account may have queued or running at once, on any connection — a turn the AI assistant is answering counts as one. A run or a turn started past it is refused with CONCURRENCY_LIMIT_REACHED.
AiBillingUpdate
monthly_limitThe most the account may spend on the platform's key in a calendar month (UTC), as Money. A run that could take the month past it is refused before it starts. Leave it unset for no limit.
daily_limitThe most the account may spend on the platform's key in a calendar day (UTC), as Money. A run that could take the day past it is refused before it starts.
max_concurrent_executionsThe most runs the account may have queued or running at once, on any connection — a turn the AI assistant is answering counts as one. A run or a turn started past it is refused with CONCURRENCY_LIMIT_REACHED.
AiTransaction
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
typeCHARGE for a call to a model on the platform's key; TOP_UP, REFUND, ADJUSTMENT or BONUS for a change made by the platform.
amountThe row's amount as Money, signed: negative for a charge, positive for money put in.
balance_afterThe balance right after this row, as Money, so a statement reads without adding up the rows before it.
execution_idThe ai_executions entry a CHARGE of a run is for. Absent on a charge of an interactive call and on every other type.
source_moduleThe part of MooverApp that called the model — assistant for the AI assistant. On a charge of a run, the source the run was created with, when it named one.
source_idWhat the call was for, in the words of source_module — for the assistant, the turn.
call_indexWhich call to the model of source_id a CHARGE is for, from 1 — a turn of the assistant may call the model several times, and each call is charged once. Absent on a charge of a run.
usage_record_idThe ai_usage_records entry — the call and its token counts — a CHARGE was priced from.
pricing_idThe price row a CHARGE was priced at. Price rows never change, so a later price change does not restate it.
descriptionWhat the row is for, in words: the run and attempt or the call of a charge, or the reason given for a change.
AiTransactionUpdate
AiUsageRecord
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
execution_idThe ai_executions entry the attempt belongs to. Absent on a call the AI assistant made, which is no run.
attemptThe number of the attempt within its run, as in the run's attempts. Absent where execution_id is.
agent_idThe ai_agents entry the run executed. Absent where execution_id is.
source_moduleThe part of MooverApp that called the model — assistant for the AI assistant. On an attempt of a run, the source the run was created with, when it named one.
source_idWhat the call was for, in the words of source_module — for the assistant, the turn.
call_indexWhich call to the model of source_id this is, from 1 — a turn of the assistant may call the model several times. Absent on an attempt of a run.
model_idThe ai_models entry the call ran on.
providerThe AI provider that served the call, by the platform's name for it.
connection_modeWhose key the call used: BYOK (the account's own, billed by the provider) or MANAGED (the platform's, charged to the AI balance).
input_tokensInput tokens the provider counted for the call, cache reads and writes not included.
output_tokensOutput tokens the provider counted for the call.
cache_read_input_tokensInput tokens the provider served from its prompt cache.
cache_creation_input_tokensInput tokens the provider wrote to its prompt cache.
raw_usageThe provider's own usage object for the call, exactly as it arrived, kept beside the four counters above.
AiUsageRecordUpdate
AiAgent
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe label that tells this agent apart in a list. Required on create unless source_system_agent supplies it.
descriptionWhat the agent is for, for the people who maintain it.
instruction_idThe id of the account's ai_instructions entry this agent runs. Required on create unless source_system_agent is set, which creates the instruction too.
instruction_versionPin the agent to one version of its instruction. Absent means the instruction's active_version at the moment a run starts.
preferred_model_idThe ai_models entry a run uses when it does not name a model. Must be AVAILABLE when set, and able to run what this agent asks of it.
allowed_model_idsThe only models a run of this agent may name. Empty means any available model; when not empty, it must include preferred_model_id.
max_tokensThe most tokens one run may write, at most the model's max_output_tokens. Defaults to 16000.
effortHow hard the model is asked to think: LOW, MEDIUM, HIGH, XHIGH or MAX. Leave it unset for the model's default — and on a model without the EFFORT capability, which refuses any level.
output_formatTEXT (the default); JSON — an answer that follows output_schema, on a model with STRUCTURED_OUTPUT; or IMAGE — a picture, on a model with IMAGE_GENERATION, whose rendered instruction is the prompt and whose result is an artifact of the run rather than text.
output_schemaThe JSON Schema object a JSON agent's answer must follow. Required when output_format is JSON and refused otherwise.
image_widthThe width of the picture an IMAGE agent asks for, in pixels, 64 to 4096; defaults to 1024. Refused on a TEXT or JSON agent.
image_heightThe height of the picture an IMAGE agent asks for, in pixels, 64 to 4096; defaults to 1024. Refused on a TEXT or JSON agent.
image_qualityHow much care an IMAGE agent's picture is drawn with: LOW, MEDIUM, HIGH, XHIGH or MAX. Interpreted by the model's provider: on openai it is the picture's quality, and a higher one produces more output tokens; bfl has no such setting and ignores it. Leave it unset for the provider's default. Refused on a TEXT or JSON agent.
connection_modeWhich of the account's connections a run may be authorized through: ANY (the default), BYOK_ONLY or MANAGED_ONLY.
max_attemptsHow many times a run is tried when the provider fails in a way worth retrying: 1 to 10, default 3.
timeoutHow long one call to the provider may take: a number of seconds with the s suffix, 1s to 600s. Defaults to 120s.
allowed_toolsTools the model may call. Must be empty: an agent calls no tools.
is_enabledWhether the agent may run. Switch it off to stop new runs without deleting it.
versionThe configuration's version: 1 on create, and one more on every update. Each version's settings are kept under versions.
AiAgentCreate
display_nameThe label that tells this agent apart in a list. Required on create unless source_system_agent supplies it.
descriptionWhat the agent is for, for the people who maintain it.
instruction_idThe id of the account's ai_instructions entry this agent runs. Required on create unless source_system_agent is set, which creates the instruction too.
instruction_versionPin the agent to one version of its instruction. Absent means the instruction's active_version at the moment a run starts.
preferred_model_idThe ai_models entry a run uses when it does not name a model. Must be AVAILABLE when set, and able to run what this agent asks of it.
allowed_model_idsThe only models a run of this agent may name. Empty means any available model; when not empty, it must include preferred_model_id.
max_tokensThe most tokens one run may write, at most the model's max_output_tokens. Defaults to 16000.
effortHow hard the model is asked to think: LOW, MEDIUM, HIGH, XHIGH or MAX. Leave it unset for the model's default — and on a model without the EFFORT capability, which refuses any level.
output_formatTEXT (the default); JSON — an answer that follows output_schema, on a model with STRUCTURED_OUTPUT; or IMAGE — a picture, on a model with IMAGE_GENERATION, whose rendered instruction is the prompt and whose result is an artifact of the run rather than text.
output_schemaThe JSON Schema object a JSON agent's answer must follow. Required when output_format is JSON and refused otherwise.
image_widthThe width of the picture an IMAGE agent asks for, in pixels, 64 to 4096; defaults to 1024. Refused on a TEXT or JSON agent.
image_heightThe height of the picture an IMAGE agent asks for, in pixels, 64 to 4096; defaults to 1024. Refused on a TEXT or JSON agent.
image_qualityHow much care an IMAGE agent's picture is drawn with: LOW, MEDIUM, HIGH, XHIGH or MAX. Interpreted by the model's provider: on openai it is the picture's quality, and a higher one produces more output tokens; bfl has no such setting and ignores it. Leave it unset for the provider's default. Refused on a TEXT or JSON agent.
connection_modeWhich of the account's connections a run may be authorized through: ANY (the default), BYOK_ONLY or MANAGED_ONLY.
max_attemptsHow many times a run is tried when the provider fails in a way worth retrying: 1 to 10, default 3.
timeoutHow long one call to the provider may take: a number of seconds with the s suffix, 1s to 600s. Defaults to 120s.
allowed_toolsTools the model may call. Must be empty: an agent calls no tools.
is_enabledWhether the agent may run. Switch it off to stop new runs without deleting it.
source_system_agentCreate only: the id of an ai_system_agents entry to copy. Its settings and its instruction text — as a new instruction of this account — become the new agent's, under any fields the body also sets.
AiAgentUpdate
display_nameThe label that tells this agent apart in a list. Required on create unless source_system_agent supplies it.
descriptionWhat the agent is for, for the people who maintain it.
instruction_idThe id of the account's ai_instructions entry this agent runs. Required on create unless source_system_agent is set, which creates the instruction too.
instruction_versionPin the agent to one version of its instruction. Absent means the instruction's active_version at the moment a run starts.
preferred_model_idThe ai_models entry a run uses when it does not name a model. Must be AVAILABLE when set, and able to run what this agent asks of it.
allowed_model_idsThe only models a run of this agent may name. Empty means any available model; when not empty, it must include preferred_model_id.
max_tokensThe most tokens one run may write, at most the model's max_output_tokens. Defaults to 16000.
effortHow hard the model is asked to think: LOW, MEDIUM, HIGH, XHIGH or MAX. Leave it unset for the model's default — and on a model without the EFFORT capability, which refuses any level.
output_formatTEXT (the default); JSON — an answer that follows output_schema, on a model with STRUCTURED_OUTPUT; or IMAGE — a picture, on a model with IMAGE_GENERATION, whose rendered instruction is the prompt and whose result is an artifact of the run rather than text.
output_schemaThe JSON Schema object a JSON agent's answer must follow. Required when output_format is JSON and refused otherwise.
image_widthThe width of the picture an IMAGE agent asks for, in pixels, 64 to 4096; defaults to 1024. Refused on a TEXT or JSON agent.
image_heightThe height of the picture an IMAGE agent asks for, in pixels, 64 to 4096; defaults to 1024. Refused on a TEXT or JSON agent.
image_qualityHow much care an IMAGE agent's picture is drawn with: LOW, MEDIUM, HIGH, XHIGH or MAX. Interpreted by the model's provider: on openai it is the picture's quality, and a higher one produces more output tokens; bfl has no such setting and ignores it. Leave it unset for the provider's default. Refused on a TEXT or JSON agent.
connection_modeWhich of the account's connections a run may be authorized through: ANY (the default), BYOK_ONLY or MANAGED_ONLY.
max_attemptsHow many times a run is tried when the provider fails in a way worth retrying: 1 to 10, default 3.
timeoutHow long one call to the provider may take: a number of seconds with the s suffix, 1s to 600s. Defaults to 120s.
allowed_toolsTools the model may call. Must be empty: an agent calls no tools.
is_enabledWhether the agent may run. Switch it off to stop new runs without deleting it.
source_system_agentCreate only: the id of an ai_system_agents entry to copy. Its settings and its instruction text — as a new instruction of this account — become the new agent's, under any fields the body also sets.
AiAgentVersion
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
ai_agent_idThe agent this is a version of. Fixed by the URL.
versionThe version number — also this resource's id, and the version the agent had.
snapshotThe agent exactly as it stood at this version: every field of the agent resource, except etag.
created_byThe user whose write produced this version, as users/{user}.
AiAgentVersionUpdate
AiConnection
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
providerThe AI provider this connection reaches, by the platform's name for it. Set on create and fixed afterwards: a stored key belongs to exactly one provider.
modeBYOK — your own provider API key, used without touching your AI balance — or MANAGED, the platform's key, charged to the balance. Fixed after create.
display_nameThe label that tells this connection apart in a list, such as Production key. Free text.
key_hintThe last four characters of the stored key — the only part of it any response carries, so that two keys can be told apart. Absent on a MANAGED connection, which has no key of its own.
is_enabledWhether runs may use this connection. Switch it off to stop a key being used without deleting it — and to turn managed access off for the account, since a MANAGED connection cannot be deleted.
priorityThe order connections are tried in when an agent may use more than one: lower goes first. Your keys start at 0 and the managed connection at 100, so a key you add is used before your balance is.
statusWhat the platform last learned about the key: UNVERIFIED until it is checked, then VALID or INVALID — moved by :verify, and by a run the provider refused for the key's sake. EXPIRED is reserved for providers that report it. Always UNVERIFIED on a MANAGED connection, which has no key of its own to learn anything about.
last_verify_timeWhen status was last decided by asking the provider (RFC 3339, UTC); cleared when the key is replaced, and absent on a MANAGED connection. Sort by it together with a provider filter — that is the pair an index backs.
AiConnectionCreate
display_nameThe label that tells this connection apart in a list, such as Production key. Free text.
providerThe AI provider this connection reaches, by the platform's name for it. Set on create and fixed afterwards: a stored key belongs to exactly one provider.
modeBYOK — your own provider API key, used without touching your AI balance — or MANAGED, the platform's key, charged to the balance. Fixed after create.
api_keyThe provider API key. Required when creating a BYOK connection and refused on MANAGED; send it on Update to replace the stored key. It is encrypted before it is stored and no call ever returns it — key_hint is all that comes back.
is_enabledWhether runs may use this connection. Switch it off to stop a key being used without deleting it — and to turn managed access off for the account, since a MANAGED connection cannot be deleted.
priorityThe order connections are tried in when an agent may use more than one: lower goes first. Your keys start at 0 and the managed connection at 100, so a key you add is used before your balance is.
AiConnectionUpdate
display_nameThe label that tells this connection apart in a list, such as Production key. Free text.
api_keyThe provider API key. Required when creating a BYOK connection and refused on MANAGED; send it on Update to replace the stored key. It is encrypted before it is stored and no call ever returns it — key_hint is all that comes back.
is_enabledWhether runs may use this connection. Switch it off to stop a key being used without deleting it — and to turn managed access off for the account, since a MANAGED connection cannot be deleted.
priorityThe order connections are tried in when an agent may use more than one: lower goes first. Your keys start at 0 and the managed connection at 100, so a key you add is used before your balance is.
AiExecution
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
agent_idThe id of the account's ai_agents entry this run executes. Set on create and fixed afterwards.
agent_versionThe version of the agent this run uses, resolved when the run was created. Its settings are kept under the agent's versions, so the run can be reproduced after the agent changes.
instruction_versionThe version of the agent's instruction whose text this run uses, resolved when the run was created.
model_idThe ai_models entry the run uses. Leave it out to use the agent's preferred_model_id; when the agent lists allowed_model_ids, only those can be named.
providerThe AI provider of the run's model, by the platform's name for it.
inputWhat the run works on: variables, an object filling every {{variable}} the instruction uses (strings, integers or booleans), and optionally text — material for the instruction to act on, such as a page to translate.
stateQUEUED, RUNNING, then SUCCEEDED, FAILED, CANCELLED or EXPIRED. A retryable failure puts the run back to QUEUED until its attempts run out.
connection_idThe ai_connections entry the latest attempt was authorized through. Absent until an attempt was routed.
connection_modeWhose key the latest attempt used: BYOK (the account's own) or MANAGED (the platform's, paid from the AI balance).
usageWhat the run consumed, summed over every attempt that reported it: input_tokens, output_tokens, cache_read_input_tokens, cache_creation_input_tokens, and for an IMAGE run image_count and megapixels_milli (thousandths of a megapixel).
costWhat the run was charged to the AI balance, summed over its attempts, as Money. Present once an attempt on the platform's key (MANAGED) was charged; a run on the account's own key has no cost here, because the provider bills the account directly.
outputThe result of a SUCCEEDED run: text, or json for an agent with output_format JSON, or artifacts for an IMAGE agent — each with its storage_key, mime_type, width, height and byte_size, the bytes living in the platform's store — and output_truncated, true when a text answer stopped at max_tokens.
errorWhy a FAILED or EXPIRED run stopped, in the same shape as an API error: code, status, message and, where there is one, a PRECONDITION_FAILURE whose type says why.
attemptsEvery attempt, in order: number, start_time, end_time, http_status (0 when no response arrived), error_code, message, and usage when the attempt's usage is known.
source_moduleWho started the run, in the caller's own words — editorial, import. Stored and filterable, never interpreted. Fixed after create.
source_idThe caller's own reference for what the run is for, within source_module, which it requires. Filter by it together with source_module.
metadataAny other correlation the caller wants back with the run, as an object of at most 16 KB. Returned as sent; not filterable.
expire_timeA deadline for starting: a run not started by then becomes EXPIRED without calling the provider (RFC 3339, UTC). Sort by it together with a state filter.
start_timeWhen the first attempt started (RFC 3339, UTC).
end_timeWhen the run reached the state it is in, if that state is final (RFC 3339, UTC).
AiExecutionCreate
agent_idThe id of the account's ai_agents entry this run executes. Set on create and fixed afterwards.
inputWhat the run works on: variables, an object filling every {{variable}} the instruction uses (strings, integers or booleans), and optionally text — material for the instruction to act on, such as a page to translate.
model_idThe ai_models entry the run uses. Leave it out to use the agent's preferred_model_id; when the agent lists allowed_model_ids, only those can be named.
source_moduleWho started the run, in the caller's own words — editorial, import. Stored and filterable, never interpreted. Fixed after create.
source_idThe caller's own reference for what the run is for, within source_module, which it requires. Filter by it together with source_module.
metadataAny other correlation the caller wants back with the run, as an object of at most 16 KB. Returned as sent; not filterable.
expire_timeA deadline for starting: a run not started by then becomes EXPIRED without calling the provider (RFC 3339, UTC). Sort by it together with a state filter.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used returns the run that key created instead of starting another.
AiExecutionUpdate
agent_idThe id of the account's ai_agents entry this run executes. Set on create and fixed afterwards.
model_idThe ai_models entry the run uses. Leave it out to use the agent's preferred_model_id; when the agent lists allowed_model_ids, only those can be named.
inputWhat the run works on: variables, an object filling every {{variable}} the instruction uses (strings, integers or booleans), and optionally text — material for the instruction to act on, such as a page to translate.
source_moduleWho started the run, in the caller's own words — editorial, import. Stored and filterable, never interpreted. Fixed after create.
source_idThe caller's own reference for what the run is for, within source_module, which it requires. Filter by it together with source_module.
metadataAny other correlation the caller wants back with the run, as an object of at most 16 KB. Returned as sent; not filterable.
expire_timeA deadline for starting: a run not started by then becomes EXPIRED without calling the provider (RFC 3339, UTC). Sort by it together with a state filter.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used returns the run that key created instead of starting another.
AiInstruction
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe label that tells this instruction apart in a list. Free text.
descriptionWhat the instruction is for, for the people who maintain it.
variablesThe variable names the text may reference as {{name}}: lower-case letters, digits and _. A version that references a name not listed here is refused, and so is a run that supplies one — or leaves a referenced one out.
active_versionThe version a run uses unless its agent pins another. The first version becomes active by itself; after that, set this field to switch. Absent until a version exists.
AiInstructionCreate
display_nameThe label that tells this instruction apart in a list. Free text.
descriptionWhat the instruction is for, for the people who maintain it.
variablesThe variable names the text may reference as {{name}}: lower-case letters, digits and _. A version that references a name not listed here is refused, and so is a run that supplies one — or leaves a referenced one out.
active_versionThe version a run uses unless its agent pins another. The first version becomes active by itself; after that, set this field to switch. Absent until a version exists.
AiInstructionUpdate
display_nameThe label that tells this instruction apart in a list. Free text.
descriptionWhat the instruction is for, for the people who maintain it.
variablesThe variable names the text may reference as {{name}}: lower-case letters, digits and _. A version that references a name not listed here is refused, and so is a run that supplies one — or leaves a referenced one out.
active_versionThe version a run uses unless its agent pins another. The first version becomes active by itself; after that, set this field to switch. Absent until a version exists.
AiInstructionVersion
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
ai_instruction_idThe instruction this is a version of. Fixed by the URL.
versionThe version number — also this resource's id. Assigned by the server: one more than the instruction's latest.
contentThe template text. {{name}} is replaced by the run's value for name, which must be one of the instruction's variables; any other text, other braces included, is sent as written.
notesWhy this version exists — the one thing a comparison of two texts cannot tell you.
created_byThe user who wrote this version, as users/{user}.
AiInstructionVersionCreate
contentThe template text. {{name}} is replaced by the run's value for name, which must be one of the instruction's variables; any other text, other braces included, is sent as written.
notesWhy this version exists — the one thing a comparison of two texts cannot tell you.
AiInstructionVersionUpdate
contentThe template text. {{name}} is replaced by the run's value for name, which must be one of the instruction's variables; any other text, other braces included, is sent as written.
notesWhy this version exists — the one thing a comparison of two texts cannot tell you.
AiModel
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
providerThe provider that serves this model, by the platform's name for it.
external_idThe provider's own identifier for the model — what a run sends it. It can move to a newer snapshot of the model while id, the name agents store, stays the same.
display_nameThe model's name as a person reads it, for a picker.
capabilitiesWhat the model can do. TEXT_GENERATION to run a text agent at all; STRUCTURED_OUTPUT to run an agent whose output_format is JSON; EFFORT to accept an agent's effort; IMAGE_GENERATION to run an IMAGE agent; IMAGE_EDITING to draw a picture from pictures it is given to work from; TRANSPARENT_BACKGROUND to draw a picture on no background; VISION and TOOL_CALLING are listed for later use.
max_input_tokensThe largest prompt the model accepts, in tokens.
max_output_tokensThe largest max_tokens an agent may set and still run on this model.
stateAVAILABLE models run. DEPRECATED and DISABLED ones do not, and an agent cannot be pointed at one — the platform takes a model out of service with this field, without a release.
tierA rough place on the speed-to-capability scale: FAST, BALANCED or POWERFUL.
platform_pricedWhether the platform has a price for what this model does — for an IMAGE_GENERATION model, a price for pictures in the unit its provider bills them by (per picture, or by tokens) — so a run on the platform's key can be charged. When it is false, a run on the platform's key is refused with MODEL_NOT_PRICED, and the model runs only on the account's own connection to its provider.
AiSystemAgent
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe agent's name as a person reads it.
descriptionWhat the agent is for, in a sentence or two.
instruction_textThe agent's prompt template, with {{variable}} references. A copy of the agent starts from this text as version 1 of its own instruction.
instruction_versionWhich revision of instruction_text this is; it rises whenever the platform changes the text.
variablesThe variable names instruction_text references — the values a run of this agent is given.
preferred_model_idThe model a run uses when it does not name one.
allowed_model_idsThe only models a run may name; empty means any available model.
allowed_toolsTools the model may call. Always empty: an agent calls no tools.
max_tokensThe most tokens one run may write.
effortHow hard the model is asked to think: LOW to MAX. Absent means the model's own default.
output_formatTEXT, JSON constrained by output_schema, or IMAGE — a picture of image_width by image_height.
output_schemaThe JSON Schema a JSON agent's answer follows. Present only when output_format is JSON.
image_widthThe width of the picture an IMAGE template asks for, in pixels. Present only on an IMAGE template.
image_heightThe height of the picture an IMAGE template asks for, in pixels. Present only on an IMAGE template.
connection_modeWhich connections a run may be paid through: ANY, BYOK_ONLY or MANAGED_ONLY.
max_attemptsHow many times a run is tried when the provider fails in a way worth retrying.
timeoutHow long one call to the provider may take, as a duration in seconds.
is_enabledWhether the platform offers this agent. One that is switched off cannot be copied.
AiSystemAgentUpdate
AnalyticsMetric
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe metric's name as a person reads it, for a widget's title or a picker.
descriptionWhat the number means and — just as importantly — what it leaves out, in a sentence or two a widget can show as help text.
unitWhat the number is measured in. COUNT is the only unit today; it is an enum because response times and rates are the next metrics and they are not counts.
kindEXACT for a counter, ESTIMATED for a number computed from a sketch. Everything ESTIMATED answers approximate: true on :query, and is accurate to about 1.6 %.
supported_intervalsThe steps :query can return a series in: MINUTE, HOUR, DAY. Empty means the metric is a single number and its answer carries no points at all.
supported_periodsThe windows :query accepts: TODAY, LAST_7_DAYS, LAST_30_DAYS, CUSTOM. Empty means the metric measures its own window ending now and takes no period.
default_intervalThe step :query returns when the caller names no interval — except for TODAY, which steps by HOUR so that today is a shape rather than one bar. Absent on a metric with no series.
rolling_windowFor a live metric, the window it always measures, as a duration in seconds (300s). Absent on every metric that takes a period instead.
AnalyticsMetricUpdate
AssistantChangeItem
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
operationThe method the item calls: CREATE on the collection resource names, UPDATE or DELETE of the resource it names, or CUSTOM — the custom method verb.
resourceThe name the call acts on, under the tenant-api: a collection's for a Create, a resource's for the others.
verbA custom method's verb, without its colon; absent for the standard methods.
bodyWhat the call sends: a Create's resource, an Update's fields, a custom method's request. Absent on a Delete.
update_maskThe fields an Update writes — and that its revert puts back. Empty for the other methods.
precondition_etagThe etag the resource had when the set was prepared: an Update and a Delete go with If-Match on it, so a resource changed since is not overwritten.
assistant_classThe class the server weighed the call at: WRITE, which the assistant applies at once, or CONFIRM, which waits for its user.
statePENDING until it is called, then APPLIED, FAILED, STALE (its resource changed after the set was prepared), SKIPPED (an earlier item stopped the set), or REVERTED (taken back).
beforeWhat was there before: an Update's fields of update_mask, a Delete's resource whole. Absent for a Create, a custom method, and an Update of what did not exist yet.
afterWhat the call left: an Update's fields of update_mask with the resource's name and new etag; a Create's or a custom method's answer whole. Absent until it is applied, and on a Delete.
result_resourceThe name of the resource the call acted on — a Create's new one.
errorWhy the call — or its revert — was refused, in the shape of an API error: code, status, message and its details.
revertibleWhether the set's :revert can take this call back: an Update or a Create of a resource with an etag. A Delete and a custom method cannot be taken back.
AssistantChangeItemUpdate
AssistantChangeSet
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
conversation_idThe conversation the set was made in — its parent, also in name: a set read across conversations (assistant_conversations/-) says whose it is without the name being parsed.
turn_idThe turn of the conversation whose call of the write tool made the set.
user_idThe member who asked for the change: the author of the conversation. Filter on it to read one member's changes.
summaryWhat the set changes, in the assistant's words, for the person who confirms it.
stateAWAITING_CONFIRMATION until its user applies or rejects it, APPLYING while its items are called, then APPLIED, FAILED (an item was refused or found its resource changed, the application was interrupted — error says so — or a revert left an item as it was), STOPPED (its user's :cancel: the rest of it waits, :apply goes on), REJECTED, EXPIRED (waited past expire_time) or REVERTED. Filters with = and != as it reads.
confirmation_reasonsWhy the set waits for its user, decided by the server, never the model: OPERATION_CLASS (an operation or a setting that always asks), DESTRUCTIVE, EXTERNAL_EFFECT, MONEY, LIVE_SITE (a theme a website wears), BULK (more than 5 items), UNTRUSTED_CONTEXT (the turn read text the website's visitors typed). Empty: applied at once.
item_countHow many calls the set makes, 1 to 1000: its items, a change the assistant made of many resources counted once for each of them.
applied_countHow many of the items are applied now — after an application that stopped, the ones before it; after a revert, the ones it could not take back.
apply_channelWhose token applies it: AUTO — the assistant's, at once, nothing in it needing a person — or USER — its user's own, by :apply.
applied_byThe member whose :apply applied it; absent on AUTO and before it was applied.
apply_timeWhen its application ended (RFC 3339, UTC); absent while it waits, and on a set rejected or expired. The Lists' order: the latest applied first, the sets without one after them.
expire_timeUntil when a set waits for its user — 24 hours after the assistant made it; past it, the set is EXPIRED and nothing applies it. Absent on a set applied at once.
revertibleWhether :revert can take something of it back now: an applied Update or Create. A Delete and a custom method are final.
overviewWhat the set holds, without reading its items: item_counts — {collection, operation, verb?, count}, how many items of each operation in each collection; first_items — {operation, resource, verb?} of the first 20 items; templates — for each change the assistant made of many resources, {collection, filter?, item_count, body, update_mask, add?, remove?}: where its targets were found, how many, and what each of them gets — add and remove the values each target's list gains and loses.
sequenceThe number of the last change the set holds — the sequence its :stream numbers its events with, one more with every change: each item its application calls is two, the item and the count applied.
errorWhy its application ended FAILED when no item says it: it was interrupted — the process applying it stopped, or nothing moved it for two minutes. The shape of an API error: code, status, message. :apply goes on from the first item not applied. Absent otherwise.
AssistantChangeSetUpdate
AssistantConversation
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameWhat the conversation is called. Left out, the first message names it by its beginning; send null in an Update to let the next message name it again. At most 200 characters.
user_idThe member who started the conversation — its only reader. Another member's conversation answers NOT_FOUND, an administrator's too.
website_idThe website the conversation was started on: a hint for the assistant and for the list, never a grant. Set on create and fixed afterwards.
turn_countHow many turns the conversation has had, counted as each one is created.
last_turn_timeWhen the latest turn was created (RFC 3339, UTC); absent before the first one. The List's order: the latest exchange first, conversations without a turn last.
AssistantConversationCreate
display_nameWhat the conversation is called. Left out, the first message names it by its beginning; send null in an Update to let the next message name it again. At most 200 characters.
website_idThe website the conversation was started on: a hint for the assistant and for the list, never a grant. Set on create and fixed afterwards.
AssistantConversationUpdate
display_nameWhat the conversation is called. Left out, the first message names it by its beginning; send null in an Update to let the next message name it again. At most 200 characters.
AssistantSettings
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
is_enabledWhether the account's members may talk to the assistant. On by default; an administrator may switch it off. A turn is paid by the account's own provider key or its MooverApp balance, and refused when there is neither.
model_idThe ai_models entry the assistant answers on — an AVAILABLE model that can call tools. Absent: the platform's default, which moves when the platform moves; send null to go back to it.
image_model_idThe ai_models entry the assistant draws pictures on — an AVAILABLE model with the IMAGE_GENERATION capability. Absent: the platform's default, which moves when the platform moves; send null to go back to it. A person may name another model for one picture in the chat.
connection_modeWhose key may pay for a turn and for the pictures it draws: ANY (the account's own provider key first, then the platform's, paid from the AI balance), BYOK_ONLY or MANAGED_ONLY.
effortHow hard the model tries — LOW, MEDIUM, HIGH, XHIGH or MAX — on a model with the EFFORT capability. Absent: the model's own default.
customer_data_accessWhether the assistant may read the shop's customers' own data — customers and their groups, orders, carts, invoices, wishlists — for a member who may. Off by default: what the assistant reads goes to the model's provider.
AssistantSettingsCreate
is_enabledWhether the account's members may talk to the assistant. On by default; an administrator may switch it off. A turn is paid by the account's own provider key or its MooverApp balance, and refused when there is neither.
model_idThe ai_models entry the assistant answers on — an AVAILABLE model that can call tools. Absent: the platform's default, which moves when the platform moves; send null to go back to it.
image_model_idThe ai_models entry the assistant draws pictures on — an AVAILABLE model with the IMAGE_GENERATION capability. Absent: the platform's default, which moves when the platform moves; send null to go back to it. A person may name another model for one picture in the chat.
connection_modeWhose key may pay for a turn and for the pictures it draws: ANY (the account's own provider key first, then the platform's, paid from the AI balance), BYOK_ONLY or MANAGED_ONLY.
effortHow hard the model tries — LOW, MEDIUM, HIGH, XHIGH or MAX — on a model with the EFFORT capability. Absent: the model's own default.
customer_data_accessWhether the assistant may read the shop's customers' own data — customers and their groups, orders, carts, invoices, wishlists — for a member who may. Off by default: what the assistant reads goes to the model's provider.
AssistantSettingsUpdate
is_enabledWhether the account's members may talk to the assistant. On by default; an administrator may switch it off. A turn is paid by the account's own provider key or its MooverApp balance, and refused when there is neither.
model_idThe ai_models entry the assistant answers on — an AVAILABLE model that can call tools. Absent: the platform's default, which moves when the platform moves; send null to go back to it.
image_model_idThe ai_models entry the assistant draws pictures on — an AVAILABLE model with the IMAGE_GENERATION capability. Absent: the platform's default, which moves when the platform moves; send null to go back to it. A person may name another model for one picture in the chat.
connection_modeWhose key may pay for a turn and for the pictures it draws: ANY (the account's own provider key first, then the platform's, paid from the AI balance), BYOK_ONLY or MANAGED_ONLY.
effortHow hard the model tries — LOW, MEDIUM, HIGH, XHIGH or MAX — on a model with the EFFORT capability. Absent: the model's own default.
customer_data_accessWhether the assistant may read the shop's customers' own data — customers and their groups, orders, carts, invoices, wishlists — for a member who may. Off by default: what the assistant reads goes to the model's provider.
AssistantTurn
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
inputWhat the turn answers. kind USER_MESSAGE (the default): text, the person's message (at most 8 000 characters). kind CHANGE_SET_RESULT: change_set, the name of a change set of this conversation that was applied, stopped, rejected or reverted — the assistant is told how it ended, and no text is sent. Either kind takes context, the screen the person was on — route, resource, website_id, locale: context for the model, never a grant.
stateQUEUED, RUNNING, then SUCCEEDED, FAILED, CANCELLED, or INTERRUPTED — a turn whose process stopped before it ended reads so once its deadline_time has passed.
outputThe answer so far, {text}, written as it arrives; absent until the first word.
stepsEach call of the model and of a tool, in order: kind (MODEL_CALL, TOOL_CALL), name, a summary line, status, duration once it ended, on the step a limit of the turn ended, limit (MODEL_CALLS, TOOL_CALLS, DURATION, INPUT_LENGTH), and on the call that made a change set, change_set — its name, state as the step left it (APPLIED, FAILED, AWAITING_CONFIRMATION) and item_count.
intentsWhat the turn asks the admin to do for the person, in order: {kind, target} — OPEN and the name of a resource, a collection or a setting to show; PREVIEW and the name of a theme, with url — a link to the website drawn with that theme, for the person to open — and expire_time, when the link stops working; IMAGE and the name of a file of the media library the turn drew, with generation — the image_generations run that drew it — to show the person.
usageThe tokens of the turn's model calls summed — input, output, cache reads and writes — and image_count, the pictures the turn drew; with cost when the platform's key paid — for the calls and the pictures — and connection_kind, BYOK or MANAGED, of the model's calls.
model_idThe ai_models entry the turn runs on, fixed when it was created from the account's assistant settings.
errorWhy a FAILED turn stopped, in the shape of an API error: code, status, message and its details.
sequenceThe number of the turn's latest change — 0 before the first. Every event of :stream carries the next one; pass the last you applied as after_sequence to resume.
deadline_timeWhen the turn must have ended (RFC 3339, UTC): it answers in words before it, and reads INTERRUPTED if its process stopped first.
end_timeWhen the turn reached its final state (RFC 3339, UTC); absent while it runs.
AssistantTurnCreate
inputWhat the turn answers. kind USER_MESSAGE (the default): text, the person's message (at most 8 000 characters). kind CHANGE_SET_RESULT: change_set, the name of a change set of this conversation that was applied, stopped, rejected or reverted — the assistant is told how it ended, and no text is sent. Either kind takes context, the screen the person was on — route, resource, website_id, locale: context for the model, never a grant.
AssistantTurnUpdate
inputWhat the turn answers. kind USER_MESSAGE (the default): text, the person's message (at most 8 000 characters). kind CHANGE_SET_RESULT: change_set, the name of a change set of this conversation that was applied, stopped, rejected or reverted — the assistant is told how it ended, and no text is sent. Either kind takes context, the screen the person was on — route, resource, website_id, locale: context for the model, never a grant.
BlogAuthor
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
is_activeWhether the author is shown on the site. It is one of the two fields a view cannot override, so an author is hidden everywhere or nowhere.
bioThe short biography rendered under the byline and on the author's own page.
avatar_media_idThe media resource used as the author's portrait.
audienceWho the author's own page is for, with the values of a post's audience. It hides the author's page, their place in the author list and their byline from other readers; the posts they wrote stay as visible as they are, shown without the byline.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
BlogAuthorCreate
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
is_activeWhether the author is shown on the site. It is one of the two fields a view cannot override, so an author is hidden everywhere or nowhere.
bioThe short biography rendered under the byline and on the author's own page.
avatar_media_idThe media resource used as the author's portrait.
audienceWho the author's own page is for, with the values of a post's audience. It hides the author's page, their place in the author list and their byline from other readers; the posts they wrote stay as visible as they are, shown without the byline.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
BlogAuthorUpdate
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
is_activeWhether the author is shown on the site. It is one of the two fields a view cannot override, so an author is hidden everywhere or nowhere.
bioThe short biography rendered under the byline and on the author's own page.
avatar_media_idThe media resource used as the author's portrait.
audienceWho the author's own page is for, with the values of a post's audience. It hides the author's page, their place in the author list and their byline from other readers; the posts they wrote stay as visible as they are, shown without the byline.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
BlogAuthorView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
blog_author_idThe resource this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
bioThis view's biography for the author.
slugThis view's URL segment for the author's page.
BlogAuthorViewCreate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
bioThis view's biography for the author.
slugThis view's URL segment for the author's page.
BlogAuthorViewUpdate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
bioThis view's biography for the author.
slugThis view's URL segment for the author's page.
BlogCategory
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
parent_idThe category this one hangs under; empty at the root. Settable on create and immutable afterwards — moving a category is :move, which recomputes the whole subtree.
pathThe category's position in the tree: the ids of its ancestors and its own, in order. Sorting by it is what renders a whole tree in one page.
url_pathThe category's full URL path on the live site — its own slug behind the slugs of its ancestors.
levelHow deep the category sits, counting the root as 0. Server-maintained, like the rest of the tree bookkeeping.
sort_orderThe category's position among its siblings. Set by :move, never by a write.
descriptionThe blurb rendered on the category's own page.
is_activeWhether the category is shown. Hiding one hides its whole subtree on the site.
visible_view_idsThe views this category appears in. Empty means every view, not none.
audienceWho the category is for, with the values of a post's audience. It narrows the whole subtree: a subcategory, and every post in the category or below it, reaches only readers this category is for too — the strictest audience on the way up wins. A category not everybody may read is left out of the sitemap, the menus of anonymous visitors and every cached copy of the blog.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
show_in_navigationWhether the category is listed in a menu item's automatic subcategory dropdown; a hidden one takes its subtree with it. Absent counts as on. The category's pages, tiles and search are not affected. null clears it; omitted when unset.
BlogCategoryCreate
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
is_activeWhether the category is shown. Hiding one hides its whole subtree on the site.
parent_idThe category this one hangs under; empty at the root. Settable on create and immutable afterwards — moving a category is :move, which recomputes the whole subtree.
descriptionThe blurb rendered on the category's own page.
visible_view_idsThe views this category appears in. Empty means every view, not none.
audienceWho the category is for, with the values of a post's audience. It narrows the whole subtree: a subcategory, and every post in the category or below it, reaches only readers this category is for too — the strictest audience on the way up wins. A category not everybody may read is left out of the sitemap, the menus of anonymous visitors and every cached copy of the blog.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
show_in_navigationWhether the category is listed in a menu item's automatic subcategory dropdown; a hidden one takes its subtree with it. Absent counts as on. The category's pages, tiles and search are not affected. null clears it; omitted when unset.
BlogCategoryUpdate
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
descriptionThe blurb rendered on the category's own page.
is_activeWhether the category is shown. Hiding one hides its whole subtree on the site.
visible_view_idsThe views this category appears in. Empty means every view, not none.
audienceWho the category is for, with the values of a post's audience. It narrows the whole subtree: a subcategory, and every post in the category or below it, reaches only readers this category is for too — the strictest audience on the way up wins. A category not everybody may read is left out of the sitemap, the menus of anonymous visitors and every cached copy of the blog.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
show_in_navigationWhether the category is listed in a menu item's automatic subcategory dropdown; a hidden one takes its subtree with it. Absent counts as on. The category's pages, tiles and search are not affected. null clears it; omitted when unset.
BlogCategoryView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
blog_category_idThe resource this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
descriptionThis view's blurb for the category.
slugThis view's URL segment for the category, so a translated section gets a translated URL.
BlogCategoryViewCreate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
descriptionThis view's blurb for the category.
slugThis view's URL segment for the category, so a translated section gets a translated URL.
BlogCategoryViewUpdate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
descriptionThis view's blurb for the category.
slugThis view's URL segment for the category, so a translated section gets a translated URL.
BlogPost
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
titleThe post's headline, and the label the admin lists it under.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL. While a view serves the blog at the site root (an empty general.blog.url_prefix), category, tag and author are refused: there those paths are the blog's archives.
is_activeWhether the post is published. Together with publish_time it decides what the live blog shows: an inactive post is never rendered, however old its publish time.
author_idThe blog_authors resource shown as the byline.
excerptThe short teaser used in listings and cards. Plain text, not the first paragraph of content.
contentThe post body as rich-text HTML, with entity:// links resolved per view when the page is rendered.
featured_image_media_idThe media resource used as the post's lead image, in listings and as the social-card picture.
publish_timeWhen the post is dated on the site. A time in the future keeps it out of the live blog until then, which is how a post is scheduled.
meta_titleThe <title> of the rendered post. Falls back to title when empty.
meta_descriptionThe meta description of the rendered post.
meta_keywordsThe meta keywords of the rendered post.
visible_view_idsThe views this post appears in. Empty means every view, not none.
audienceWho the post is for. PUBLIC — everybody, the default. AUTHENTICATED — the website's signed-in customers. GROUPS — the customers in at least one of customer_group_ids. A reader sees the post only if it is for them and so is every category it is in, with each category's ancestors: the strictest wins. A post not everybody may read is left out of the sitemap, the feeds, the site search, the public API and every cached copy of the blog.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
category_idsThe categories this post belongs to. Filled in on a read of one post and on a write; a List leaves it out, because membership is a join and a page of posts would be a page of joins.
tag_idsThe tags on this post, with the same read rule as category_ids.
BlogPostCreate
titleThe post's headline, and the label the admin lists it under.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL. While a view serves the blog at the site root (an empty general.blog.url_prefix), category, tag and author are refused: there those paths are the blog's archives.
is_activeWhether the post is published. Together with publish_time it decides what the live blog shows: an inactive post is never rendered, however old its publish time.
author_idThe blog_authors resource shown as the byline.
excerptThe short teaser used in listings and cards. Plain text, not the first paragraph of content.
contentThe post body as rich-text HTML, with entity:// links resolved per view when the page is rendered.
featured_image_media_idThe media resource used as the post's lead image, in listings and as the social-card picture.
publish_timeWhen the post is dated on the site. A time in the future keeps it out of the live blog until then, which is how a post is scheduled.
meta_titleThe <title> of the rendered post. Falls back to title when empty.
meta_descriptionThe meta description of the rendered post.
meta_keywordsThe meta keywords of the rendered post.
visible_view_idsThe views this post appears in. Empty means every view, not none.
audienceWho the post is for. PUBLIC — everybody, the default. AUTHENTICATED — the website's signed-in customers. GROUPS — the customers in at least one of customer_group_ids. A reader sees the post only if it is for them and so is every category it is in, with each category's ancestors: the strictest wins. A post not everybody may read is left out of the sitemap, the feeds, the site search, the public API and every cached copy of the blog.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
category_idsThe categories this post belongs to. Filled in on a read of one post and on a write; a List leaves it out, because membership is a join and a page of posts would be a page of joins.
tag_idsThe tags on this post, with the same read rule as category_ids.
BlogPostUpdate
titleThe post's headline, and the label the admin lists it under.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL. While a view serves the blog at the site root (an empty general.blog.url_prefix), category, tag and author are refused: there those paths are the blog's archives.
is_activeWhether the post is published. Together with publish_time it decides what the live blog shows: an inactive post is never rendered, however old its publish time.
author_idThe blog_authors resource shown as the byline.
excerptThe short teaser used in listings and cards. Plain text, not the first paragraph of content.
contentThe post body as rich-text HTML, with entity:// links resolved per view when the page is rendered.
featured_image_media_idThe media resource used as the post's lead image, in listings and as the social-card picture.
publish_timeWhen the post is dated on the site. A time in the future keeps it out of the live blog until then, which is how a post is scheduled.
meta_titleThe <title> of the rendered post. Falls back to title when empty.
meta_descriptionThe meta description of the rendered post.
meta_keywordsThe meta keywords of the rendered post.
visible_view_idsThe views this post appears in. Empty means every view, not none.
audienceWho the post is for. PUBLIC — everybody, the default. AUTHENTICATED — the website's signed-in customers. GROUPS — the customers in at least one of customer_group_ids. A reader sees the post only if it is for them and so is every category it is in, with each category's ancestors: the strictest wins. A post not everybody may read is left out of the sitemap, the feeds, the site search, the public API and every cached copy of the blog.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
category_idsThe categories this post belongs to. Filled in on a read of one post and on a write; a List leaves it out, because membership is a join and a page of posts would be a page of joins.
tag_idsThe tags on this post, with the same read rule as category_ids.
BlogPostView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
blog_post_idThe resource this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
titleThis view's headline for the post.
slugThis view's URL segment for the post. Like the post's own, never category, tag or author while a view serves the blog at the site root.
excerptThis view's teaser for the post.
contentThis view's rich-text body for the post.
meta_titleThis view's <title> for the post.
meta_descriptionThis view's meta description for the post.
meta_keywordsThis view's meta keywords for the post.
featured_image_media_idThis view's lead image for the post, for a picture carrying text that has to be translated too.
BlogPostViewCreate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
titleThis view's headline for the post.
slugThis view's URL segment for the post. Like the post's own, never category, tag or author while a view serves the blog at the site root.
excerptThis view's teaser for the post.
contentThis view's rich-text body for the post.
meta_titleThis view's <title> for the post.
meta_descriptionThis view's meta description for the post.
meta_keywordsThis view's meta keywords for the post.
featured_image_media_idThis view's lead image for the post, for a picture carrying text that has to be translated too.
BlogPostViewUpdate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
titleThis view's headline for the post.
slugThis view's URL segment for the post. Like the post's own, never category, tag or author while a view serves the blog at the site root.
excerptThis view's teaser for the post.
contentThis view's rich-text body for the post.
meta_titleThis view's <title> for the post.
meta_descriptionThis view's meta description for the post.
meta_keywordsThis view's meta keywords for the post.
featured_image_media_idThis view's lead image for the post, for a picture carrying text that has to be translated too.
BlogTag
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
BlogTagCreate
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
BlogTagUpdate
display_nameThe name this is shown under, on the site and in the admin.
slugThe URL segment this is addressed by on the live site. Unique among its siblings, and a view may override it so a translated page gets a translated URL.
audienceWho the tag's own page is for, with the values of a post's audience. It hides the tag's archive and the tag itself on shared surfaces — the tag list, a post's tag chips — from other readers; it never hides a post that carries the tag.
customer_group_idsThe customer_groups of the website a GROUPS audience is for — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
BlogTagView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
blog_tag_idThe resource this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.
BlogTagViewCreate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.
BlogTagViewUpdate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty value with the field absent from this list means "use the master", not "show nothing".
display_nameThis view's name for the resource.
slugThis view's URL segment for the tag.
CatalogAttributeSet
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe set's name, unique on the website — how the tenant picks it for a product. Not blank, at most 255 characters.
labelsThe name in other languages: an object from a locale (de, pt-BR) to the name in it, each at most 255 characters. Replaced whole when sent.
groupsThe sections of the product form, in the order it shows them: each {display_name, labels, attribute_ids}, where display_name is the section's heading (not blank, at most 255 characters) and attribute_ids the ids of the website's catalog_attributes it shows, in their order. An attribute is in a set at most once. At most 20 groups. Replaced whole when sent; a deleted attribute drops out of every group on its own. An attribute a product of the set has among its variant_options stays: leaving it out answers FAILED_PRECONDITION, naming the products.
CatalogAttributeSetCreate
display_nameThe set's name, unique on the website — how the tenant picks it for a product. Not blank, at most 255 characters.
labelsThe name in other languages: an object from a locale (de, pt-BR) to the name in it, each at most 255 characters. Replaced whole when sent.
groupsThe sections of the product form, in the order it shows them: each {display_name, labels, attribute_ids}, where display_name is the section's heading (not blank, at most 255 characters) and attribute_ids the ids of the website's catalog_attributes it shows, in their order. An attribute is in a set at most once. At most 20 groups. Replaced whole when sent; a deleted attribute drops out of every group on its own. An attribute a product of the set has among its variant_options stays: leaving it out answers FAILED_PRECONDITION, naming the products.
CatalogAttributeSetUpdate
display_nameThe set's name, unique on the website — how the tenant picks it for a product. Not blank, at most 255 characters.
labelsThe name in other languages: an object from a locale (de, pt-BR) to the name in it, each at most 255 characters. Replaced whole when sent.
groupsThe sections of the product form, in the order it shows them: each {display_name, labels, attribute_ids}, where display_name is the section's heading (not blank, at most 255 characters) and attribute_ids the ids of the website's catalog_attributes it shows, in their order. An attribute is in a set at most once. At most 20 groups. Replaced whole when sent; a deleted attribute drops out of every group on its own. An attribute a product of the set has among its variant_options stays: leaving it out answers FAILED_PRECONDITION, naming the products.
CatalogAttribute
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
keyThe name a product's value is stored under in its attributes: a lowercase letter, then up to 63 lowercase letters, digits and underscores. Unique on the website, and none of a product's own field names (sku, price, display_name, ...). Required on create and fixed afterwards.
display_nameThe attribute's label, shown wherever labels has none for the locale. Not blank, at most 255 characters.
labelsThe label in other languages: an object from a locale (de, pt-BR) to the label in it, each at most 255 characters. A locale it leaves out shows display_name. Replaced whole when sent.
descriptionThe hint shown under the attribute on the product form. At most 2000 characters.
typeWhat the attribute holds, and so which control the product form draws: TEXT, TEXTAREA, NUMBER, BOOLEAN, DATE (a YYYY-MM-DD string), SELECT (one of options) or MULTISELECT (any of them). Required on create and fixed afterwards.
displayHow the storefront shows a SELECT attribute's options — on a product's page and in its filter: SELECT (a drop-down, the default), BUTTONS (a row of buttons with the options' names) or SWATCH (a row of swatches, each option's swatch, and its name on a button where it has none). Emitted on every SELECT attribute, and on no other type, which refuses it. DISPLAY_UNSPECIFIED or null goes back to SELECT.
optionsThe choices of a SELECT or MULTISELECT attribute, in the order a form lists them: each {value, display_name, labels, swatch}, where value is what a product's attributes stores and is unique within the attribute, and swatch, optional, is what the storefront's swatch shows for it: {"color": "#RRGGBB"} or {"media_id": "<id>"}, a file of the website's media library — one of the two; deleting the file takes the swatch off. At least one and at most 200 for those two types, none for the others. Replaced whole when sent; one a product variant holds in its option_values cannot be taken away — FAILED_PRECONDITION, naming the products.
is_requiredWhether a product whose attribute set lists the attribute must have a value for it. false when omitted.
is_filterableWhether the storefront offers the attribute as a filter of a product list. Kept for the storefront; the admin does not act on it. false when omitted.
is_activeWhether the attribute is in use. Switching it off takes it off the product form and stops new values being accepted, while the values products already hold stay readable — the way to retire an attribute without losing them. true when omitted. Not switched off while a product's variant_options name it — FAILED_PRECONDITION, naming the products.
min_lengthThe fewest characters a TEXT or TEXTAREA value may have. Not allowed on other types.
max_lengthThe most characters a TEXT or TEXTAREA value may have — at most 1024 for TEXT and 8192 for TEXTAREA, which is also the limit when it is omitted. Not allowed on other types.
min_valueThe smallest value a NUMBER attribute accepts. Not allowed on other types.
max_valueThe largest value a NUMBER attribute accepts. Not allowed on other types.
sort_orderWhere the attribute stands among the website's attributes: lists show them in ascending sort_order. A new attribute comes last; :move is the only way to change it.
CatalogAttributeCreate
display_nameThe attribute's label, shown wherever labels has none for the locale. Not blank, at most 255 characters.
keyThe name a product's value is stored under in its attributes: a lowercase letter, then up to 63 lowercase letters, digits and underscores. Unique on the website, and none of a product's own field names (sku, price, display_name, ...). Required on create and fixed afterwards.
labelsThe label in other languages: an object from a locale (de, pt-BR) to the label in it, each at most 255 characters. A locale it leaves out shows display_name. Replaced whole when sent.
descriptionThe hint shown under the attribute on the product form. At most 2000 characters.
typeWhat the attribute holds, and so which control the product form draws: TEXT, TEXTAREA, NUMBER, BOOLEAN, DATE (a YYYY-MM-DD string), SELECT (one of options) or MULTISELECT (any of them). Required on create and fixed afterwards.
displayHow the storefront shows a SELECT attribute's options — on a product's page and in its filter: SELECT (a drop-down, the default), BUTTONS (a row of buttons with the options' names) or SWATCH (a row of swatches, each option's swatch, and its name on a button where it has none). Emitted on every SELECT attribute, and on no other type, which refuses it. DISPLAY_UNSPECIFIED or null goes back to SELECT.
optionsThe choices of a SELECT or MULTISELECT attribute, in the order a form lists them: each {value, display_name, labels, swatch}, where value is what a product's attributes stores and is unique within the attribute, and swatch, optional, is what the storefront's swatch shows for it: {"color": "#RRGGBB"} or {"media_id": "<id>"}, a file of the website's media library — one of the two; deleting the file takes the swatch off. At least one and at most 200 for those two types, none for the others. Replaced whole when sent; one a product variant holds in its option_values cannot be taken away — FAILED_PRECONDITION, naming the products.
is_requiredWhether a product whose attribute set lists the attribute must have a value for it. false when omitted.
is_filterableWhether the storefront offers the attribute as a filter of a product list. Kept for the storefront; the admin does not act on it. false when omitted.
is_activeWhether the attribute is in use. Switching it off takes it off the product form and stops new values being accepted, while the values products already hold stay readable — the way to retire an attribute without losing them. true when omitted. Not switched off while a product's variant_options name it — FAILED_PRECONDITION, naming the products.
min_lengthThe fewest characters a TEXT or TEXTAREA value may have. Not allowed on other types.
max_lengthThe most characters a TEXT or TEXTAREA value may have — at most 1024 for TEXT and 8192 for TEXTAREA, which is also the limit when it is omitted. Not allowed on other types.
min_valueThe smallest value a NUMBER attribute accepts. Not allowed on other types.
max_valueThe largest value a NUMBER attribute accepts. Not allowed on other types.
CatalogAttributeUpdate
display_nameThe attribute's label, shown wherever labels has none for the locale. Not blank, at most 255 characters.
labelsThe label in other languages: an object from a locale (de, pt-BR) to the label in it, each at most 255 characters. A locale it leaves out shows display_name. Replaced whole when sent.
descriptionThe hint shown under the attribute on the product form. At most 2000 characters.
displayHow the storefront shows a SELECT attribute's options — on a product's page and in its filter: SELECT (a drop-down, the default), BUTTONS (a row of buttons with the options' names) or SWATCH (a row of swatches, each option's swatch, and its name on a button where it has none). Emitted on every SELECT attribute, and on no other type, which refuses it. DISPLAY_UNSPECIFIED or null goes back to SELECT.
optionsThe choices of a SELECT or MULTISELECT attribute, in the order a form lists them: each {value, display_name, labels, swatch}, where value is what a product's attributes stores and is unique within the attribute, and swatch, optional, is what the storefront's swatch shows for it: {"color": "#RRGGBB"} or {"media_id": "<id>"}, a file of the website's media library — one of the two; deleting the file takes the swatch off. At least one and at most 200 for those two types, none for the others. Replaced whole when sent; one a product variant holds in its option_values cannot be taken away — FAILED_PRECONDITION, naming the products.
is_requiredWhether a product whose attribute set lists the attribute must have a value for it. false when omitted.
is_filterableWhether the storefront offers the attribute as a filter of a product list. Kept for the storefront; the admin does not act on it. false when omitted.
is_activeWhether the attribute is in use. Switching it off takes it off the product form and stops new values being accepted, while the values products already hold stay readable — the way to retire an attribute without losing them. true when omitted. Not switched off while a product's variant_options name it — FAILED_PRECONDITION, naming the products.
min_lengthThe fewest characters a TEXT or TEXTAREA value may have. Not allowed on other types.
max_lengthThe most characters a TEXT or TEXTAREA value may have — at most 1024 for TEXT and 8192 for TEXTAREA, which is also the limit when it is omitted. Not allowed on other types.
min_valueThe smallest value a NUMBER attribute accepts. Not allowed on other types.
max_valueThe largest value a NUMBER attribute accepts. Not allowed on other types.
CatalogCategory
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe category's name. Not blank, at most 255 characters. display_name:"shirt" lists the categories whose name holds the text, case aside.
slugThe category's URL segment: lowercase letters and digits joined by single dashes, at most 120 characters. Derived from display_name when omitted on create. Unique among the category's siblings; a new one rewrites the url_path of the whole subtree.
parent_idThe id of the category this one sits under; absent at the root. Set on create and fixed afterwards — :move changes it, together with the placement of the whole subtree.
pathThe ids of the category's ancestors and its own, from the root: /{root}/.../{own}. Kept by the server; a list in path order is the tree, parents before their children.
url_pathThe slugs from the root down to the category's own, joined by / — unique on the website. Kept by the server.
levelHow deep the category sits: 0 at the root. Kept by the server.
sort_orderThe category's place among its siblings, from 0: a new category comes last, and :move is the only way to change it.
descriptionText about the category, for its page on the storefront. At most 10000 characters.
image_media_idThe id of the media item that pictures the category — one of the website's media library. Deleting the media item clears it.
is_activeWhether the category is in use. true when omitted.
visible_view_idsThe ids of the website's views this is shown on, each once, at most 100. Empty — the default — means every view, not none. An id that is not a view of this website is refused; a view deleted later leaves the list on its own. Replaced whole when sent; null under update_mask empties it. What a view says instead of the master's text is its version under views.
filter_layoutWhat the storefront shows around the category's product grid: NONE — the grid alone, SUBCATEGORIES — a row of tiles of its subcategories that narrows the grid, SIDEBAR — a filter panel beside it. Unset, the category inherits: the nearest ancestor that sets one, else the website setting general.catalog.filters.layout — which wins outright when general.catalog.filters.category_override is off. FILTER_LAYOUT_UNSPECIFIED or null clears it; omitted when unset.
sortingWhether the category's storefront listing offers a sort order to choose: ENABLED or DISABLED. Unset, the category inherits: the nearest ancestor that sets it, else the website setting general.catalog.sort.enabled — which wins outright when general.catalog.sort.category_override is off. SORTING_UNSPECIFIED or null clears it; omitted when unset.
show_in_navigationWhether the category is listed in a menu item's automatic subcategory dropdown; a hidden one takes its subtree with it. Absent counts as on. The category's pages, tiles and search are not affected. null clears it; omitted when unset.
CatalogCategoryCreate
display_nameThe category's name. Not blank, at most 255 characters. display_name:"shirt" lists the categories whose name holds the text, case aside.
slugThe category's URL segment: lowercase letters and digits joined by single dashes, at most 120 characters. Derived from display_name when omitted on create. Unique among the category's siblings; a new one rewrites the url_path of the whole subtree.
parent_idThe id of the category this one sits under; absent at the root. Set on create and fixed afterwards — :move changes it, together with the placement of the whole subtree.
descriptionText about the category, for its page on the storefront. At most 10000 characters.
image_media_idThe id of the media item that pictures the category — one of the website's media library. Deleting the media item clears it.
is_activeWhether the category is in use. true when omitted.
visible_view_idsThe ids of the website's views this is shown on, each once, at most 100. Empty — the default — means every view, not none. An id that is not a view of this website is refused; a view deleted later leaves the list on its own. Replaced whole when sent; null under update_mask empties it. What a view says instead of the master's text is its version under views.
filter_layoutWhat the storefront shows around the category's product grid: NONE — the grid alone, SUBCATEGORIES — a row of tiles of its subcategories that narrows the grid, SIDEBAR — a filter panel beside it. Unset, the category inherits: the nearest ancestor that sets one, else the website setting general.catalog.filters.layout — which wins outright when general.catalog.filters.category_override is off. FILTER_LAYOUT_UNSPECIFIED or null clears it; omitted when unset.
sortingWhether the category's storefront listing offers a sort order to choose: ENABLED or DISABLED. Unset, the category inherits: the nearest ancestor that sets it, else the website setting general.catalog.sort.enabled — which wins outright when general.catalog.sort.category_override is off. SORTING_UNSPECIFIED or null clears it; omitted when unset.
show_in_navigationWhether the category is listed in a menu item's automatic subcategory dropdown; a hidden one takes its subtree with it. Absent counts as on. The category's pages, tiles and search are not affected. null clears it; omitted when unset.
CatalogCategoryUpdate
display_nameThe category's name. Not blank, at most 255 characters. display_name:"shirt" lists the categories whose name holds the text, case aside.
slugThe category's URL segment: lowercase letters and digits joined by single dashes, at most 120 characters. Derived from display_name when omitted on create. Unique among the category's siblings; a new one rewrites the url_path of the whole subtree.
descriptionText about the category, for its page on the storefront. At most 10000 characters.
image_media_idThe id of the media item that pictures the category — one of the website's media library. Deleting the media item clears it.
is_activeWhether the category is in use. true when omitted.
visible_view_idsThe ids of the website's views this is shown on, each once, at most 100. Empty — the default — means every view, not none. An id that is not a view of this website is refused; a view deleted later leaves the list on its own. Replaced whole when sent; null under update_mask empties it. What a view says instead of the master's text is its version under views.
filter_layoutWhat the storefront shows around the category's product grid: NONE — the grid alone, SUBCATEGORIES — a row of tiles of its subcategories that narrows the grid, SIDEBAR — a filter panel beside it. Unset, the category inherits: the nearest ancestor that sets one, else the website setting general.catalog.filters.layout — which wins outright when general.catalog.filters.category_override is off. FILTER_LAYOUT_UNSPECIFIED or null clears it; omitted when unset.
sortingWhether the category's storefront listing offers a sort order to choose: ENABLED or DISABLED. Unset, the category inherits: the nearest ancestor that sets it, else the website setting general.catalog.sort.enabled — which wins outright when general.catalog.sort.category_override is off. SORTING_UNSPECIFIED or null clears it; omitted when unset.
show_in_navigationWhether the category is listed in a menu item's automatic subcategory dropdown; a hidden one takes its subtree with it. Absent counts as on. The category's pages, tiles and search are not affected. null clears it; omitted when unset.
CatalogCategoryView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
catalog_category_idThe id of the master this is a version of. Fixed by the URL.
view_idThe view this version is for — the same as id. Fixed by the URL: a version is created with ?id={view_id}.
overriddenThe fields this view claims. A field counts only while it is listed here: one left out is taken down the view's fallback chain to the master, whatever value it holds, and a claimed one cleared to null is taken so too. Only the localizable fields of the resource may be listed. Claiming display_name claims slug with it — derived from the name when the version has none — so a translated name gets a translated URL.
display_nameThis view's name for the category. Not blank, at most 255 characters.
descriptionThis view's text about the category, for its storefront page. At most 10000 characters.
slugThis view's URL segment for the category, by the master's rule — so a translated category, and every category below it, gets a translated URL on the view. One another category under the same parent holds, or serves on the view, is ALREADY_EXISTS. Claimed without a value, or not sent while display_name is claimed, it is derived from the name — and then kept when the name changes.
CatalogCategoryViewCreate
overriddenThe fields this view claims. A field counts only while it is listed here: one left out is taken down the view's fallback chain to the master, whatever value it holds, and a claimed one cleared to null is taken so too. Only the localizable fields of the resource may be listed. Claiming display_name claims slug with it — derived from the name when the version has none — so a translated name gets a translated URL.
display_nameThis view's name for the category. Not blank, at most 255 characters.
descriptionThis view's text about the category, for its storefront page. At most 10000 characters.
slugThis view's URL segment for the category, by the master's rule — so a translated category, and every category below it, gets a translated URL on the view. One another category under the same parent holds, or serves on the view, is ALREADY_EXISTS. Claimed without a value, or not sent while display_name is claimed, it is derived from the name — and then kept when the name changes.
CatalogCategoryViewUpdate
overriddenThe fields this view claims. A field counts only while it is listed here: one left out is taken down the view's fallback chain to the master, whatever value it holds, and a claimed one cleared to null is taken so too. Only the localizable fields of the resource may be listed. Claiming display_name claims slug with it — derived from the name when the version has none — so a translated name gets a translated URL.
display_nameThis view's name for the category. Not blank, at most 255 characters.
descriptionThis view's text about the category, for its storefront page. At most 10000 characters.
slugThis view's URL segment for the category, by the master's rule — so a translated category, and every category below it, gets a translated URL on the view. One another category under the same parent holds, or serves on the view, is ALREADY_EXISTS. Claimed without a value, or not sent while display_name is claimed, it is derived from the name — and then kept when the name changes.
CatalogCurrency
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
codeThe currency's ISO 4217 code — three uppercase letters — and its id: the resource is websites/{website}/catalog_currencies/{code}. Not the website's base currency (general.catalog.base_currency), which has no record here. Required on create and fixed afterwards.
rateHow many units of this currency one unit of the base currency is worth, as a decimal string: greater than zero, at most nine digits before the point and nine after it. Kept exactly — never as a float — and answered in its shortest form (0.920 is 0.92).
pricingWhat a view in this currency shows for a product without a price of its own in it: CONVERTED — the base price times rate, rounded by fraction_digits and rounding_ending — or FIXED_ONLY — no price. CONVERTED when omitted.
fraction_digitsThe digits of the currency's minor unit, 0 to 3 — 2 for cents, 0 for whole yen: what a converted price is rounded to. 2 when omitted.
rounding_endingThe minor digits a converted price is rounded up to, exactly fraction_digits of them: 99 turns 12.34 into 12.99 and 13.00 into 13.99, and leaves a price of zero at zero. Omitted — or null, or empty — rounds to the nearest minor unit instead. Checked against fraction_digits as the currency would be stored.
is_activeWhether the website sells in the currency: an inactive one is no market's to sell in and keeps its rate and rules. true when omitted. Not switched off, nor deleted, while a market sells in it (its currency_code) — FAILED_PRECONDITION CURRENCY_IN_USE.
CatalogCurrencyCreate
rateHow many units of this currency one unit of the base currency is worth, as a decimal string: greater than zero, at most nine digits before the point and nine after it. Kept exactly — never as a float — and answered in its shortest form (0.920 is 0.92).
codeThe currency's ISO 4217 code — three uppercase letters — and its id: the resource is websites/{website}/catalog_currencies/{code}. Not the website's base currency (general.catalog.base_currency), which has no record here. Required on create and fixed afterwards.
pricingWhat a view in this currency shows for a product without a price of its own in it: CONVERTED — the base price times rate, rounded by fraction_digits and rounding_ending — or FIXED_ONLY — no price. CONVERTED when omitted.
fraction_digitsThe digits of the currency's minor unit, 0 to 3 — 2 for cents, 0 for whole yen: what a converted price is rounded to. 2 when omitted.
rounding_endingThe minor digits a converted price is rounded up to, exactly fraction_digits of them: 99 turns 12.34 into 12.99 and 13.00 into 13.99, and leaves a price of zero at zero. Omitted — or null, or empty — rounds to the nearest minor unit instead. Checked against fraction_digits as the currency would be stored.
is_activeWhether the website sells in the currency: an inactive one is no market's to sell in and keeps its rate and rules. true when omitted. Not switched off, nor deleted, while a market sells in it (its currency_code) — FAILED_PRECONDITION CURRENCY_IN_USE.
CatalogCurrencyUpdate
rateHow many units of this currency one unit of the base currency is worth, as a decimal string: greater than zero, at most nine digits before the point and nine after it. Kept exactly — never as a float — and answered in its shortest form (0.920 is 0.92).
pricingWhat a view in this currency shows for a product without a price of its own in it: CONVERTED — the base price times rate, rounded by fraction_digits and rounding_ending — or FIXED_ONLY — no price. CONVERTED when omitted.
fraction_digitsThe digits of the currency's minor unit, 0 to 3 — 2 for cents, 0 for whole yen: what a converted price is rounded to. 2 when omitted.
rounding_endingThe minor digits a converted price is rounded up to, exactly fraction_digits of them: 99 turns 12.34 into 12.99 and 13.00 into 13.99, and leaves a price of zero at zero. Omitted — or null, or empty — rounds to the nearest minor unit instead. Checked against fraction_digits as the currency would be stored.
is_activeWhether the website sells in the currency: an inactive one is no market's to sell in and keeps its rate and rules. true when omitted. Not switched off, nor deleted, while a market sells in it (its currency_code) — FAILED_PRECONDITION CURRENCY_IN_USE.
CatalogMarket
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe market's name, unique on the website — «Europe», «North America». 1 to 100 characters, kept without the spaces around them. It labels the market for visitors and is not translated.
currency_codeThe currency the market sells in: the website's base currency (general.catalog.base_currency) or an active one of its catalog_currencies, in either case and kept uppercase. Absent — the base currency, whichever it is. null or an empty string under update_mask clears it.
country_codesThe countries the market sells to: ISO 3166-1 alpha-2 codes, in either case and kept uppercase, each once, at most 250, in the order sent. The first is the market's main country. Empty — the default — means any country.
is_activeWhether the market is in use. Switched off, it keeps its currency and countries. true when omitted. Not switched off, nor deleted, while general.catalog.market names it — FAILED_PRECONDITION MARKET_IN_USE.
prices_include_taxWhether the prices of the products hold the tax. true: a sale takes the tax out of the price, and the total is the sum of the prices. false, the default: a sale adds the tax on top. The catalog shows a price as it is in either case.
CatalogMarketCreate
display_nameThe market's name, unique on the website — «Europe», «North America». 1 to 100 characters, kept without the spaces around them. It labels the market for visitors and is not translated.
currency_codeThe currency the market sells in: the website's base currency (general.catalog.base_currency) or an active one of its catalog_currencies, in either case and kept uppercase. Absent — the base currency, whichever it is. null or an empty string under update_mask clears it.
country_codesThe countries the market sells to: ISO 3166-1 alpha-2 codes, in either case and kept uppercase, each once, at most 250, in the order sent. The first is the market's main country. Empty — the default — means any country.
is_activeWhether the market is in use. Switched off, it keeps its currency and countries. true when omitted. Not switched off, nor deleted, while general.catalog.market names it — FAILED_PRECONDITION MARKET_IN_USE.
prices_include_taxWhether the prices of the products hold the tax. true: a sale takes the tax out of the price, and the total is the sum of the prices. false, the default: a sale adds the tax on top. The catalog shows a price as it is in either case.
CatalogMarketUpdate
display_nameThe market's name, unique on the website — «Europe», «North America». 1 to 100 characters, kept without the spaces around them. It labels the market for visitors and is not translated.
currency_codeThe currency the market sells in: the website's base currency (general.catalog.base_currency) or an active one of its catalog_currencies, in either case and kept uppercase. Absent — the base currency, whichever it is. null or an empty string under update_mask clears it.
country_codesThe countries the market sells to: ISO 3166-1 alpha-2 codes, in either case and kept uppercase, each once, at most 250, in the order sent. The first is the market's main country. Empty — the default — means any country.
is_activeWhether the market is in use. Switched off, it keeps its currency and countries. true when omitted. Not switched off, nor deleted, while general.catalog.market names it — FAILED_PRECONDITION MARKET_IN_USE.
prices_include_taxWhether the prices of the products hold the tax. true: a sale takes the tax out of the price, and the total is the sum of the prices. false, the default: a sale adds the tax on top. The catalog shows a price as it is in either case.
CatalogPriceListEntry
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
price_list_idThe id of the price list this is an entry of — the {price_list} of name. Fixed by the URL.
product_idThe product the entry prices — every variant of it. On an entry of one variant the server sets it to the variant's product, so product_id = "<id>" lists every entry of a product, its variants' included. A create sends exactly one of product_id and variant_id; fixed afterwards. Deleting the product deletes its entries.
variant_idThe one variant the entry prices, of any product of the website; absent on an entry of a whole product. An entry of a variant beats its product's in the same list. Fixed once the entry is made; deleting the variant deletes its entries.
min_quantityThe quantity the entry applies from — 1, the default, for any; entries of one product at 1, 10 and 100 are its price tiers. Unique with the target in the list: a second entry of the same product or variant at the same quantity answers ALREADY_EXISTS.
amountThe price, as a google.type.Money in the list's currency_code — whose currency_code may be left out on a write. A list without a currency takes no amount. Exactly one of amount and percent_off: sending the other in an update switches the entry to it.
percent_offThe price as a percentage taken off the regular one, as a decimal string: above 0, at most 100, at most two decimals ("12.5"). A JSON number is taken on a write too. Exactly one of amount and percent_off.
CatalogPriceListEntryCreate
product_idThe product the entry prices — every variant of it. On an entry of one variant the server sets it to the variant's product, so product_id = "<id>" lists every entry of a product, its variants' included. A create sends exactly one of product_id and variant_id; fixed afterwards. Deleting the product deletes its entries.
variant_idThe one variant the entry prices, of any product of the website; absent on an entry of a whole product. An entry of a variant beats its product's in the same list. Fixed once the entry is made; deleting the variant deletes its entries.
min_quantityThe quantity the entry applies from — 1, the default, for any; entries of one product at 1, 10 and 100 are its price tiers. Unique with the target in the list: a second entry of the same product or variant at the same quantity answers ALREADY_EXISTS.
amountThe price, as a google.type.Money in the list's currency_code — whose currency_code may be left out on a write. A list without a currency takes no amount. Exactly one of amount and percent_off: sending the other in an update switches the entry to it.
percent_offThe price as a percentage taken off the regular one, as a decimal string: above 0, at most 100, at most two decimals ("12.5"). A JSON number is taken on a write too. Exactly one of amount and percent_off.
CatalogPriceListEntryUpdate
min_quantityThe quantity the entry applies from — 1, the default, for any; entries of one product at 1, 10 and 100 are its price tiers. Unique with the target in the list: a second entry of the same product or variant at the same quantity answers ALREADY_EXISTS.
amountThe price, as a google.type.Money in the list's currency_code — whose currency_code may be left out on a write. A list without a currency takes no amount. Exactly one of amount and percent_off: sending the other in an update switches the entry to it.
percent_offThe price as a percentage taken off the regular one, as a decimal string: above 0, at most 100, at most two decimals ("12.5"). A JSON number is taken on a write too. Exactly one of amount and percent_off.
CatalogPriceList
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe list's name, unique on the website — «Wholesale», «Black Friday». Not blank, at most 255 characters.
priorityWhich list's entry a price comes from where several lists apply to it: the higher. 0 when omitted; negative numbers are fine.
is_activeWhether the list applies at all. Switched off, it keeps its entries and applies nowhere. true when omitted.
starts_atWhen the list starts to apply. Absent — from now on. null under update_mask clears it.
ends_atWhen the list stops applying: after starts_at. Absent — for good. null under update_mask clears it.
customer_group_idsThe ids of the website's customer groups the list is for, each once. Empty — the default — means every visitor, guests included. A group an active list names is priced apart: a website has at most 20 such groups, and a write past that answers FAILED_PRECONDITION PRICED_GROUPS_LIMIT. Deleting a group takes it out of every list, and a list it was the last group of is switched off rather than opened to everyone. customer_group_ids:"<id>" lists the lists for one group.
view_idsThe ids of the website's views the list applies on, each once, at most 100. Empty — the default — means every view. view_ids:"<id>" lists the lists for one view.
currency_codeThe one currency the list applies in and its entries' amounts are in: the website's base currency (general.catalog.base_currency) or one of its catalog_currencies. Absent — every currency, and then the entries take percent_off only. Changing it while an entry is an amount answers FAILED_PRECONDITION PRICE_LIST_AMOUNTS.
CatalogPriceListCreate
display_nameThe list's name, unique on the website — «Wholesale», «Black Friday». Not blank, at most 255 characters.
priorityWhich list's entry a price comes from where several lists apply to it: the higher. 0 when omitted; negative numbers are fine.
is_activeWhether the list applies at all. Switched off, it keeps its entries and applies nowhere. true when omitted.
starts_atWhen the list starts to apply. Absent — from now on. null under update_mask clears it.
ends_atWhen the list stops applying: after starts_at. Absent — for good. null under update_mask clears it.
customer_group_idsThe ids of the website's customer groups the list is for, each once. Empty — the default — means every visitor, guests included. A group an active list names is priced apart: a website has at most 20 such groups, and a write past that answers FAILED_PRECONDITION PRICED_GROUPS_LIMIT. Deleting a group takes it out of every list, and a list it was the last group of is switched off rather than opened to everyone. customer_group_ids:"<id>" lists the lists for one group.
view_idsThe ids of the website's views the list applies on, each once, at most 100. Empty — the default — means every view. view_ids:"<id>" lists the lists for one view.
currency_codeThe one currency the list applies in and its entries' amounts are in: the website's base currency (general.catalog.base_currency) or one of its catalog_currencies. Absent — every currency, and then the entries take percent_off only. Changing it while an entry is an amount answers FAILED_PRECONDITION PRICE_LIST_AMOUNTS.
CatalogPriceListUpdate
display_nameThe list's name, unique on the website — «Wholesale», «Black Friday». Not blank, at most 255 characters.
priorityWhich list's entry a price comes from where several lists apply to it: the higher. 0 when omitted; negative numbers are fine.
is_activeWhether the list applies at all. Switched off, it keeps its entries and applies nowhere. true when omitted.
starts_atWhen the list starts to apply. Absent — from now on. null under update_mask clears it.
ends_atWhen the list stops applying: after starts_at. Absent — for good. null under update_mask clears it.
customer_group_idsThe ids of the website's customer groups the list is for, each once. Empty — the default — means every visitor, guests included. A group an active list names is priced apart: a website has at most 20 such groups, and a write past that answers FAILED_PRECONDITION PRICED_GROUPS_LIMIT. Deleting a group takes it out of every list, and a list it was the last group of is switched off rather than opened to everyone. customer_group_ids:"<id>" lists the lists for one group.
view_idsThe ids of the website's views the list applies on, each once, at most 100. Empty — the default — means every view. view_ids:"<id>" lists the lists for one view.
currency_codeThe one currency the list applies in and its entries' amounts are in: the website's base currency (general.catalog.base_currency) or one of its catalog_currencies. Absent — every currency, and then the entries take percent_off only. Changing it while an entry is an amount answers FAILED_PRECONDITION PRICE_LIST_AMOUNTS.
CatalogPriceRule
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe rule's name, for the admin — «Sale −10 %», «Trade discount». Not blank, at most 255 characters.
priorityThe order the rules of a product apply in: the higher first, then the older, each to what the one before left. 0 when omitted; negative numbers are fine.
is_activeWhether the rule applies at all. Switched off, it takes nothing off any price. true when omitted.
starts_atWhen the rule starts to apply. Absent — from now on. null under update_mask clears it.
ends_atWhen the rule stops applying: after starts_at. Absent — for good. null under update_mask clears it.
customer_group_idsThe ids of the website's customer groups the rule is for, each once. Empty — the default — means every visitor, guests included. A group an active rule names is priced apart, as by a price list: a website has at most 20 such groups, and a write past that answers FAILED_PRECONDITION PRICED_GROUPS_LIMIT. Deleting a group takes it out of every rule, and a rule it was the last group of is switched off rather than opened to everyone.
view_idsThe ids of the website's views the rule applies on, each once, at most 100. Empty — the default — means every view.
conditionWhich products the rule is for: a filter over a product, written as GET …/catalog_products?filter= takes it — category_ids:"<id>" (or =), attribute_set_id (=, !=) and attributes.<key> of the website's attributes, joined by AND, OR, NOT and parentheses — so that list, sent the condition, shows the products the rule is on. At most 2000 characters. Empty — the default — is no product, never every one. Another field, an attribute the website does not have or a mistake of the grammar is INVALID_ARGUMENT on condition, with the reason and its offset.
actionWhat the rule takes off: {"type": "PERCENT_OFF", "percent_off": "10"} — a percentage, above 0 and at most 100 with at most two decimals, as a decimal string — or {"type": "AMOUNT_OFF", "amount": {…}} — a google.type.Money above zero in the website's base currency, converted at the rate of the currency a price is in. Exactly the one its type takes. Replaced whole when sent. A price never goes below zero.
stop_further_rulesWhether the rules after this one in priority stop applying to a price this one applied to. false when omitted.
CatalogPriceRuleCreate
display_nameThe rule's name, for the admin — «Sale −10 %», «Trade discount». Not blank, at most 255 characters.
actionWhat the rule takes off: {"type": "PERCENT_OFF", "percent_off": "10"} — a percentage, above 0 and at most 100 with at most two decimals, as a decimal string — or {"type": "AMOUNT_OFF", "amount": {…}} — a google.type.Money above zero in the website's base currency, converted at the rate of the currency a price is in. Exactly the one its type takes. Replaced whole when sent. A price never goes below zero.
priorityThe order the rules of a product apply in: the higher first, then the older, each to what the one before left. 0 when omitted; negative numbers are fine.
is_activeWhether the rule applies at all. Switched off, it takes nothing off any price. true when omitted.
starts_atWhen the rule starts to apply. Absent — from now on. null under update_mask clears it.
ends_atWhen the rule stops applying: after starts_at. Absent — for good. null under update_mask clears it.
customer_group_idsThe ids of the website's customer groups the rule is for, each once. Empty — the default — means every visitor, guests included. A group an active rule names is priced apart, as by a price list: a website has at most 20 such groups, and a write past that answers FAILED_PRECONDITION PRICED_GROUPS_LIMIT. Deleting a group takes it out of every rule, and a rule it was the last group of is switched off rather than opened to everyone.
view_idsThe ids of the website's views the rule applies on, each once, at most 100. Empty — the default — means every view.
conditionWhich products the rule is for: a filter over a product, written as GET …/catalog_products?filter= takes it — category_ids:"<id>" (or =), attribute_set_id (=, !=) and attributes.<key> of the website's attributes, joined by AND, OR, NOT and parentheses — so that list, sent the condition, shows the products the rule is on. At most 2000 characters. Empty — the default — is no product, never every one. Another field, an attribute the website does not have or a mistake of the grammar is INVALID_ARGUMENT on condition, with the reason and its offset.
stop_further_rulesWhether the rules after this one in priority stop applying to a price this one applied to. false when omitted.
CatalogPriceRuleUpdate
display_nameThe rule's name, for the admin — «Sale −10 %», «Trade discount». Not blank, at most 255 characters.
priorityThe order the rules of a product apply in: the higher first, then the older, each to what the one before left. 0 when omitted; negative numbers are fine.
is_activeWhether the rule applies at all. Switched off, it takes nothing off any price. true when omitted.
starts_atWhen the rule starts to apply. Absent — from now on. null under update_mask clears it.
ends_atWhen the rule stops applying: after starts_at. Absent — for good. null under update_mask clears it.
customer_group_idsThe ids of the website's customer groups the rule is for, each once. Empty — the default — means every visitor, guests included. A group an active rule names is priced apart, as by a price list: a website has at most 20 such groups, and a write past that answers FAILED_PRECONDITION PRICED_GROUPS_LIMIT. Deleting a group takes it out of every rule, and a rule it was the last group of is switched off rather than opened to everyone.
view_idsThe ids of the website's views the rule applies on, each once, at most 100. Empty — the default — means every view.
conditionWhich products the rule is for: a filter over a product, written as GET …/catalog_products?filter= takes it — category_ids:"<id>" (or =), attribute_set_id (=, !=) and attributes.<key> of the website's attributes, joined by AND, OR, NOT and parentheses — so that list, sent the condition, shows the products the rule is on. At most 2000 characters. Empty — the default — is no product, never every one. Another field, an attribute the website does not have or a mistake of the grammar is INVALID_ARGUMENT on condition, with the reason and its offset.
actionWhat the rule takes off: {"type": "PERCENT_OFF", "percent_off": "10"} — a percentage, above 0 and at most 100 with at most two decimals, as a decimal string — or {"type": "AMOUNT_OFF", "amount": {…}} — a google.type.Money above zero in the website's base currency, converted at the rate of the currency a price is in. Exactly the one its type takes. Replaced whole when sent. A price never goes below zero.
stop_further_rulesWhether the rules after this one in priority stop applying to a price this one applied to. false when omitted.
CatalogProduct
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe product's name. Not blank, at most 255 characters. display_name:"shirt" lists the products whose name holds the text, case aside.
slugThe product's URL segment: lowercase letters and digits joined by single dashes, at most 120 characters, unique on the website. Derived from display_name when omitted on create; a name with no letter or digit to derive it from needs one sent. category is reserved — the storefront's category pages live under it — sent or derived alike.
skuThe SKU of the product's only variant, kept by the server: present while variant_count is 1, absent on a product of more — each of its variants has its own. Every SKU is a variant's, unique among the website's variants, and is written under the product's variants. sku = "…" lists the product any variant of which has that SKU, sku:"…" the ones with a variant whose SKU holds the text, case aside.
descriptionThe product's description, as HTML. At most 100000 characters.
short_descriptionA line or two about the product, for lists and cards. Plain text, at most 2000 characters.
is_activeWhether the product is on sale. true when omitted.
attribute_set_idThe id of the catalog_attribute_sets entry whose attributes the product has. Changing it keeps the values of the attributes the new set lists too and drops the others; the new set's required attributes must then have a value, and it must list every one of the product's variant_options.
tax_class_idThe id of the catalog_tax_classes entry the product is taxed by, its variants with it. Absent — the standard rate of every country. null under update_mask clears it. tax_class_id = "<id>" lists the products of one class.
shipping_class_idThe id of the catalog_shipping_classes entry a shipping rate tells the product apart by, its variants with it. Absent — none: the rates without a class of their own apply. null under update_mask clears it. shipping_class_id = "<id>" lists the products of one class.
category_idsThe ids of the catalog_categories the product is in, each once, at most 50. A deleted category leaves the list on its own. category_ids:"<id>" filters the products of one category.
image_media_idsThe ids of the media items that picture the product, in their order — the first is the main one. Each once, at most 20, every one of the website's media library. Deleting a media item takes it off every product it pictures, with the product's alt of it.
image_altsThe product's own alt text of its pictures, over the alt_text the media library holds for the file: each {media_id, alt}, alt at most 500 characters, one entry per picture. An entry for an id that is not in image_media_ids is dropped, so is a blank alt, and taking a picture off the product takes its alt with it. Replaced whole when sent; null under update_mask clears it. A view's version may claim it in its own language.
image_countHow many pictures the product has: the size of image_media_ids, kept by the server. image_count = 0 lists the products without a picture.
pricesWhat the product costs, one entry per currency: {currency_code, amount, sale_amount} — amount the regular price and sale_amount, optional and below it, the special one, each a google.type.Money in the entry's currency (whose currency_code may be left out on a write), never a float, never below zero. An entry is in the website's base currency (general.catalog.base_currency) or one of its catalog_currencies, and a list that is not empty has the base currency's entry. Empty — a product on request. The prices of every variant without its own in that currency. Replaced whole when sent; null under update_mask empties it.
sale_starts_atWhen the sale_amount of the product's and its variants' prices starts to apply. Absent — from now on; with sale_ends_at absent too, a special price applies always. null under update_mask clears it.
sale_ends_atWhen the sale_amount of the product's and its variants' prices stops applying: after sale_starts_at. Absent — for good. null under update_mask clears it.
variant_countHow many variants the product has, on sale or not — at least one: a product without options has its default variant, made with it. Kept by the server.
price_minThe lowest regular price an active variant of the product is sold at in the base currency — the amount of its own entry or else the product's — as a google.type.Money. Absent when no active variant has a base price. Kept by the server.
price_maxThe highest regular price an active variant of the product is sold at in the base currency, as price_min; the two are equal while every variant sells at the product's. Kept by the server.
attributesThe values of the product's attributes: an object from an attribute's key to its value — a string for TEXT, TEXTAREA, DATE (YYYY-MM-DD) and SELECT, a number for NUMBER, true or false, an array of option values for MULTISELECT. Only the active attributes of the product's set may be written, each checked by its type, and a required one must have a value — except a key of variant_options, which holds none here: its value is each variant's own. Replaced whole when sent — a key left out has no value. Omitted when empty. A list filters by each attribute of the website as attributes.<key>, typed by the attribute — attributes.color = "red", attributes.sizes:"m", attributes.weight > 2, attributes.organic = true — a catalog price rule's condition in the same words; a key that is no attribute of the website is INVALID_ARGUMENT.
variant_optionsThe options the product's variants differ by: the keys of SELECT attributes of its attribute set, switched on, each once, at most 3, in the order the storefront shows them. Empty — the default — is a product without options, sold as its one default variant. A variant holds one value of each, in its option_values, so attributes holds no value under them. Replaced whole when sent; null under update_mask empties it. Fixed while a variant of the product holds option values: a change — or a new attribute_set_id that does not list one of them — answers FAILED_PRECONDITION until those variants are deleted.
price_rule_idsThe ids of the website's catalog_price_rules whose condition the product matches, each once, kept by the server: matched again when the product is saved and, within seconds, when a rule changes or a category or an attribute it reads is deleted. Whether a rule takes anything off a price — its switch, its period, its groups and views — is decided at the price. price_rule_ids:"<id>" lists the products a rule is on.
visible_view_idsThe ids of the website's views this is shown on, each once, at most 100. Empty — the default — means every view, not none. An id that is not a view of this website is refused; a view deleted later leaves the list on its own. Replaced whole when sent; null under update_mask empties it. What a view says instead of the master's text is its version under views.
CatalogProductCreate
display_nameThe product's name. Not blank, at most 255 characters. display_name:"shirt" lists the products whose name holds the text, case aside.
attribute_set_idThe id of the catalog_attribute_sets entry whose attributes the product has. Changing it keeps the values of the attributes the new set lists too and drops the others; the new set's required attributes must then have a value, and it must list every one of the product's variant_options.
slugThe product's URL segment: lowercase letters and digits joined by single dashes, at most 120 characters, unique on the website. Derived from display_name when omitted on create; a name with no letter or digit to derive it from needs one sent. category is reserved — the storefront's category pages live under it — sent or derived alike.
descriptionThe product's description, as HTML. At most 100000 characters.
short_descriptionA line or two about the product, for lists and cards. Plain text, at most 2000 characters.
is_activeWhether the product is on sale. true when omitted.
tax_class_idThe id of the catalog_tax_classes entry the product is taxed by, its variants with it. Absent — the standard rate of every country. null under update_mask clears it. tax_class_id = "<id>" lists the products of one class.
shipping_class_idThe id of the catalog_shipping_classes entry a shipping rate tells the product apart by, its variants with it. Absent — none: the rates without a class of their own apply. null under update_mask clears it. shipping_class_id = "<id>" lists the products of one class.
category_idsThe ids of the catalog_categories the product is in, each once, at most 50. A deleted category leaves the list on its own. category_ids:"<id>" filters the products of one category.
image_media_idsThe ids of the media items that picture the product, in their order — the first is the main one. Each once, at most 20, every one of the website's media library. Deleting a media item takes it off every product it pictures, with the product's alt of it.
image_altsThe product's own alt text of its pictures, over the alt_text the media library holds for the file: each {media_id, alt}, alt at most 500 characters, one entry per picture. An entry for an id that is not in image_media_ids is dropped, so is a blank alt, and taking a picture off the product takes its alt with it. Replaced whole when sent; null under update_mask clears it. A view's version may claim it in its own language.
pricesWhat the product costs, one entry per currency: {currency_code, amount, sale_amount} — amount the regular price and sale_amount, optional and below it, the special one, each a google.type.Money in the entry's currency (whose currency_code may be left out on a write), never a float, never below zero. An entry is in the website's base currency (general.catalog.base_currency) or one of its catalog_currencies, and a list that is not empty has the base currency's entry. Empty — a product on request. The prices of every variant without its own in that currency. Replaced whole when sent; null under update_mask empties it.
sale_starts_atWhen the sale_amount of the product's and its variants' prices starts to apply. Absent — from now on; with sale_ends_at absent too, a special price applies always. null under update_mask clears it.
sale_ends_atWhen the sale_amount of the product's and its variants' prices stops applying: after sale_starts_at. Absent — for good. null under update_mask clears it.
attributesThe values of the product's attributes: an object from an attribute's key to its value — a string for TEXT, TEXTAREA, DATE (YYYY-MM-DD) and SELECT, a number for NUMBER, true or false, an array of option values for MULTISELECT. Only the active attributes of the product's set may be written, each checked by its type, and a required one must have a value — except a key of variant_options, which holds none here: its value is each variant's own. Replaced whole when sent — a key left out has no value. Omitted when empty. A list filters by each attribute of the website as attributes.<key>, typed by the attribute — attributes.color = "red", attributes.sizes:"m", attributes.weight > 2, attributes.organic = true — a catalog price rule's condition in the same words; a key that is no attribute of the website is INVALID_ARGUMENT.
variant_optionsThe options the product's variants differ by: the keys of SELECT attributes of its attribute set, switched on, each once, at most 3, in the order the storefront shows them. Empty — the default — is a product without options, sold as its one default variant. A variant holds one value of each, in its option_values, so attributes holds no value under them. Replaced whole when sent; null under update_mask empties it. Fixed while a variant of the product holds option values: a change — or a new attribute_set_id that does not list one of them — answers FAILED_PRECONDITION until those variants are deleted.
variantsCreate only, and required there: the product's variants, made with it in the same call — each the body of a variant's own create (option_values, sku, prices, image_media_ids, is_active, weight, length, width, height), at least one, at most 10000. Without variant_options exactly one, its default variant, with option_values {}. With them, each holds a value of every one — or the default variant comes alone, the variants made later by :batch_create with replace_default_variant. A variant refused leaves no product behind: its error names variants[i]. Never returned; an update that carries it is INVALID_ARGUMENT — a product's variants are written under its variants.
visible_view_idsThe ids of the website's views this is shown on, each once, at most 100. Empty — the default — means every view, not none. An id that is not a view of this website is refused; a view deleted later leaves the list on its own. Replaced whole when sent; null under update_mask empties it. What a view says instead of the master's text is its version under views.
CatalogProductUpdate
display_nameThe product's name. Not blank, at most 255 characters. display_name:"shirt" lists the products whose name holds the text, case aside.
slugThe product's URL segment: lowercase letters and digits joined by single dashes, at most 120 characters, unique on the website. Derived from display_name when omitted on create; a name with no letter or digit to derive it from needs one sent. category is reserved — the storefront's category pages live under it — sent or derived alike.
descriptionThe product's description, as HTML. At most 100000 characters.
short_descriptionA line or two about the product, for lists and cards. Plain text, at most 2000 characters.
is_activeWhether the product is on sale. true when omitted.
attribute_set_idThe id of the catalog_attribute_sets entry whose attributes the product has. Changing it keeps the values of the attributes the new set lists too and drops the others; the new set's required attributes must then have a value, and it must list every one of the product's variant_options.
tax_class_idThe id of the catalog_tax_classes entry the product is taxed by, its variants with it. Absent — the standard rate of every country. null under update_mask clears it. tax_class_id = "<id>" lists the products of one class.
shipping_class_idThe id of the catalog_shipping_classes entry a shipping rate tells the product apart by, its variants with it. Absent — none: the rates without a class of their own apply. null under update_mask clears it. shipping_class_id = "<id>" lists the products of one class.
category_idsThe ids of the catalog_categories the product is in, each once, at most 50. A deleted category leaves the list on its own. category_ids:"<id>" filters the products of one category.
image_media_idsThe ids of the media items that picture the product, in their order — the first is the main one. Each once, at most 20, every one of the website's media library. Deleting a media item takes it off every product it pictures, with the product's alt of it.
image_altsThe product's own alt text of its pictures, over the alt_text the media library holds for the file: each {media_id, alt}, alt at most 500 characters, one entry per picture. An entry for an id that is not in image_media_ids is dropped, so is a blank alt, and taking a picture off the product takes its alt with it. Replaced whole when sent; null under update_mask clears it. A view's version may claim it in its own language.
pricesWhat the product costs, one entry per currency: {currency_code, amount, sale_amount} — amount the regular price and sale_amount, optional and below it, the special one, each a google.type.Money in the entry's currency (whose currency_code may be left out on a write), never a float, never below zero. An entry is in the website's base currency (general.catalog.base_currency) or one of its catalog_currencies, and a list that is not empty has the base currency's entry. Empty — a product on request. The prices of every variant without its own in that currency. Replaced whole when sent; null under update_mask empties it.
sale_starts_atWhen the sale_amount of the product's and its variants' prices starts to apply. Absent — from now on; with sale_ends_at absent too, a special price applies always. null under update_mask clears it.
sale_ends_atWhen the sale_amount of the product's and its variants' prices stops applying: after sale_starts_at. Absent — for good. null under update_mask clears it.
attributesThe values of the product's attributes: an object from an attribute's key to its value — a string for TEXT, TEXTAREA, DATE (YYYY-MM-DD) and SELECT, a number for NUMBER, true or false, an array of option values for MULTISELECT. Only the active attributes of the product's set may be written, each checked by its type, and a required one must have a value — except a key of variant_options, which holds none here: its value is each variant's own. Replaced whole when sent — a key left out has no value. Omitted when empty. A list filters by each attribute of the website as attributes.<key>, typed by the attribute — attributes.color = "red", attributes.sizes:"m", attributes.weight > 2, attributes.organic = true — a catalog price rule's condition in the same words; a key that is no attribute of the website is INVALID_ARGUMENT.
variant_optionsThe options the product's variants differ by: the keys of SELECT attributes of its attribute set, switched on, each once, at most 3, in the order the storefront shows them. Empty — the default — is a product without options, sold as its one default variant. A variant holds one value of each, in its option_values, so attributes holds no value under them. Replaced whole when sent; null under update_mask empties it. Fixed while a variant of the product holds option values: a change — or a new attribute_set_id that does not list one of them — answers FAILED_PRECONDITION until those variants are deleted.
variantsCreate only, and required there: the product's variants, made with it in the same call — each the body of a variant's own create (option_values, sku, prices, image_media_ids, is_active, weight, length, width, height), at least one, at most 10000. Without variant_options exactly one, its default variant, with option_values {}. With them, each holds a value of every one — or the default variant comes alone, the variants made later by :batch_create with replace_default_variant. A variant refused leaves no product behind: its error names variants[i]. Never returned; an update that carries it is INVALID_ARGUMENT — a product's variants are written under its variants.
visible_view_idsThe ids of the website's views this is shown on, each once, at most 100. Empty — the default — means every view, not none. An id that is not a view of this website is refused; a view deleted later leaves the list on its own. Replaced whole when sent; null under update_mask empties it. What a view says instead of the master's text is its version under views.
CatalogProductVariant
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
product_idThe id of the product this is a variant of — the {product} of name. Fixed by the URL.
option_valuesThe variant's value of each of its product's variant_options: an object from each one's key to the value of one of that attribute's options — one per option, no other key. {} on a product without options, whose one variant is its default. Values another variant of the product has answer ALREADY_EXISTS. Required on create and fixed afterwards; omitted when empty.
option_pairsThe option values as key=value strings, kept by the server: option_pairs:"color=red" lists the product's variants with that value.
skuThe variant's stock-keeping unit: 1 to 64 letters, digits, dots, underscores and dashes, case kept — AB-1 and ab-1 are two. Unique among the website's variants: every SKU is a variant's. While the variant is its product's only one, the product shows it as its sku.
pricesThe variant's own prices, entries as the product's prices, held to the same rules — the base currency's entry among them when there are any. An entry overrides the product's in its currency whole: without a sale_amount the variant has no special price there. A currency it has no entry in is the product's; empty — the default — sells at the product's prices, and null under update_mask goes back to them.
image_media_idsThe ids of the media items that picture the variant, in their order — the first is the main one. Each once, at most 20, every one of the website's media library. Empty — the default — shows the product's pictures, and their alt text is the product's. Replaced whole when sent; null under update_mask empties it. Deleting a media item takes it off every variant it pictures.
is_activeWhether the variant is on sale. true when omitted. One switched off stays the product's, counted in its variant_count but in no price range.
weightThe variant's weight in the website's unit of weight, general.catalog.weight_unit: a decimal string from 0 to 1000000 with at most three digits after the point, returned in its shortest form ("1.25"). A JSON number is taken on a write too. Absent — not known; null under update_mask clears it.
lengthThe variant's length in the website's unit of length, general.catalog.dimension_unit: a decimal string as weight's, from 0 to 1000000, at most three digits after the point. Absent — not known; null under update_mask clears it.
widthThe variant's width in the website's unit of length, general.catalog.dimension_unit, written as length. Absent — not known; null under update_mask clears it.
heightThe variant's height in the website's unit of length, general.catalog.dimension_unit, written as length. Absent — not known; null under update_mask clears it.
effective_pricesWhat the variant sells at, currency by currency: its own entry, or else the product's. Empty when neither has one. Kept by the server.
effective_image_media_idsThe pictures the variant is shown with: its own image_media_ids, or else the product's. Kept by the server.
CatalogProductVariantCreate
skuThe variant's stock-keeping unit: 1 to 64 letters, digits, dots, underscores and dashes, case kept — AB-1 and ab-1 are two. Unique among the website's variants: every SKU is a variant's. While the variant is its product's only one, the product shows it as its sku.
option_valuesThe variant's value of each of its product's variant_options: an object from each one's key to the value of one of that attribute's options — one per option, no other key. {} on a product without options, whose one variant is its default. Values another variant of the product has answer ALREADY_EXISTS. Required on create and fixed afterwards; omitted when empty.
pricesThe variant's own prices, entries as the product's prices, held to the same rules — the base currency's entry among them when there are any. An entry overrides the product's in its currency whole: without a sale_amount the variant has no special price there. A currency it has no entry in is the product's; empty — the default — sells at the product's prices, and null under update_mask goes back to them.
image_media_idsThe ids of the media items that picture the variant, in their order — the first is the main one. Each once, at most 20, every one of the website's media library. Empty — the default — shows the product's pictures, and their alt text is the product's. Replaced whole when sent; null under update_mask empties it. Deleting a media item takes it off every variant it pictures.
is_activeWhether the variant is on sale. true when omitted. One switched off stays the product's, counted in its variant_count but in no price range.
weightThe variant's weight in the website's unit of weight, general.catalog.weight_unit: a decimal string from 0 to 1000000 with at most three digits after the point, returned in its shortest form ("1.25"). A JSON number is taken on a write too. Absent — not known; null under update_mask clears it.
lengthThe variant's length in the website's unit of length, general.catalog.dimension_unit: a decimal string as weight's, from 0 to 1000000, at most three digits after the point. Absent — not known; null under update_mask clears it.
widthThe variant's width in the website's unit of length, general.catalog.dimension_unit, written as length. Absent — not known; null under update_mask clears it.
heightThe variant's height in the website's unit of length, general.catalog.dimension_unit, written as length. Absent — not known; null under update_mask clears it.
CatalogProductVariantUpdate
skuThe variant's stock-keeping unit: 1 to 64 letters, digits, dots, underscores and dashes, case kept — AB-1 and ab-1 are two. Unique among the website's variants: every SKU is a variant's. While the variant is its product's only one, the product shows it as its sku.
pricesThe variant's own prices, entries as the product's prices, held to the same rules — the base currency's entry among them when there are any. An entry overrides the product's in its currency whole: without a sale_amount the variant has no special price there. A currency it has no entry in is the product's; empty — the default — sells at the product's prices, and null under update_mask goes back to them.
image_media_idsThe ids of the media items that picture the variant, in their order — the first is the main one. Each once, at most 20, every one of the website's media library. Empty — the default — shows the product's pictures, and their alt text is the product's. Replaced whole when sent; null under update_mask empties it. Deleting a media item takes it off every variant it pictures.
is_activeWhether the variant is on sale. true when omitted. One switched off stays the product's, counted in its variant_count but in no price range.
weightThe variant's weight in the website's unit of weight, general.catalog.weight_unit: a decimal string from 0 to 1000000 with at most three digits after the point, returned in its shortest form ("1.25"). A JSON number is taken on a write too. Absent — not known; null under update_mask clears it.
lengthThe variant's length in the website's unit of length, general.catalog.dimension_unit: a decimal string as weight's, from 0 to 1000000, at most three digits after the point. Absent — not known; null under update_mask clears it.
widthThe variant's width in the website's unit of length, general.catalog.dimension_unit, written as length. Absent — not known; null under update_mask clears it.
heightThe variant's height in the website's unit of length, general.catalog.dimension_unit, written as length. Absent — not known; null under update_mask clears it.
CatalogProductView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
catalog_product_idThe id of the master this is a version of. Fixed by the URL.
view_idThe view this version is for — the same as id. Fixed by the URL: a version is created with ?id={view_id}.
overriddenThe fields this view claims. A field counts only while it is listed here: one left out is taken down the view's fallback chain to the master, whatever value it holds, and a claimed one cleared to null is taken so too. Only the localizable fields of the resource may be listed. Claiming display_name claims slug with it — derived from the name when the version has none — so a translated name gets a translated URL.
display_nameThis view's name for the product. Not blank, at most 255 characters.
slugThis view's URL segment for the product, by the master's rule and never category. One another product holds, or serves on the view, is ALREADY_EXISTS. Claimed without a value, or not sent while display_name is claimed, it is derived from the name — and then kept when the name changes.
short_descriptionThis view's line or two about the product, for lists and cards. Plain text, at most 2000 characters.
descriptionThis view's description of the product, as HTML. At most 100000 characters.
image_altsThis view's alt text of the master's pictures, each {media_id, alt} as on the master. Claimed, a picture with an entry here takes it, any other keeps the master's, and one with neither the media library's alt_text. An entry for a picture the master does not have is dropped.
CatalogProductViewCreate
overriddenThe fields this view claims. A field counts only while it is listed here: one left out is taken down the view's fallback chain to the master, whatever value it holds, and a claimed one cleared to null is taken so too. Only the localizable fields of the resource may be listed. Claiming display_name claims slug with it — derived from the name when the version has none — so a translated name gets a translated URL.
display_nameThis view's name for the product. Not blank, at most 255 characters.
slugThis view's URL segment for the product, by the master's rule and never category. One another product holds, or serves on the view, is ALREADY_EXISTS. Claimed without a value, or not sent while display_name is claimed, it is derived from the name — and then kept when the name changes.
short_descriptionThis view's line or two about the product, for lists and cards. Plain text, at most 2000 characters.
descriptionThis view's description of the product, as HTML. At most 100000 characters.
image_altsThis view's alt text of the master's pictures, each {media_id, alt} as on the master. Claimed, a picture with an entry here takes it, any other keeps the master's, and one with neither the media library's alt_text. An entry for a picture the master does not have is dropped.
CatalogProductViewUpdate
overriddenThe fields this view claims. A field counts only while it is listed here: one left out is taken down the view's fallback chain to the master, whatever value it holds, and a claimed one cleared to null is taken so too. Only the localizable fields of the resource may be listed. Claiming display_name claims slug with it — derived from the name when the version has none — so a translated name gets a translated URL.
display_nameThis view's name for the product. Not blank, at most 255 characters.
slugThis view's URL segment for the product, by the master's rule and never category. One another product holds, or serves on the view, is ALREADY_EXISTS. Claimed without a value, or not sent while display_name is claimed, it is derived from the name — and then kept when the name changes.
short_descriptionThis view's line or two about the product, for lists and cards. Plain text, at most 2000 characters.
descriptionThis view's description of the product, as HTML. At most 100000 characters.
image_altsThis view's alt text of the master's pictures, each {media_id, alt} as on the master. Claimed, a picture with an entry here takes it, any other keeps the master's, and one with neither the media library's alt_text. An entry for a picture the master does not have is dropped.
CatalogShippingClass
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe class's name, unique on the website — «Bulky», «Fragile», «Frozen». 1 to 100 characters, kept without the spaces around them.
descriptionWhat the class is for, as plain text for the shop's staff: at most 500 characters, kept without the spaces around them. Omitted while the class has none; null under update_mask, or a blank text, clears it.
CatalogShippingClassCreate
display_nameThe class's name, unique on the website — «Bulky», «Fragile», «Frozen». 1 to 100 characters, kept without the spaces around them.
descriptionWhat the class is for, as plain text for the shop's staff: at most 500 characters, kept without the spaces around them. Omitted while the class has none; null under update_mask, or a blank text, clears it.
CatalogShippingClassUpdate
display_nameThe class's name, unique on the website — «Bulky», «Fragile», «Frozen». 1 to 100 characters, kept without the spaces around them.
descriptionWhat the class is for, as plain text for the shop's staff: at most 500 characters, kept without the spaces around them. Omitted while the class has none; null under update_mask, or a blank text, clears it.
CatalogTaxClass
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe class's name, unique on the website — «Reduced rate», «Books», «Tax free». 1 to 100 characters, kept without the spaces around them.
CatalogTaxClassCreate
display_nameThe class's name, unique on the website — «Reduced rate», «Books», «Tax free». 1 to 100 characters, kept without the spaces around them.
CatalogTaxClassUpdate
display_nameThe class's name, unique on the website — «Reduced rate», «Books», «Tax free». 1 to 100 characters, kept without the spaces around them.
CatalogTaxRate
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
country_codeThe country's ISO 3166-1 alpha-2 code — two uppercase letters — and the rate's id: the resource is websites/{website}/catalog_tax_rates/{country_code}, and de there is NOT_FOUND. Required on create and fixed afterwards.
display_nameThe name of the tax the buyer reads — «VAT», «MwSt.». 1 to 50 characters, kept without the spaces around them. One for every language.
rateThe standard rate, a percentage as a decimal string: 0 to 100, at most four digits after the point. Kept exactly — never as a float — and answered in its shortest form (20.0 is 20).
class_ratesThe rates of the tax classes that differ here: each {tax_class_id, rate}, tax_class_id a class of catalog_tax_classes, rate written as above. At most one entry per class and at most 20; a class without one pays the standard rate. Replaced whole when sent; null under update_mask empties it.
CatalogTaxRateCreate
display_nameThe name of the tax the buyer reads — «VAT», «MwSt.». 1 to 50 characters, kept without the spaces around them. One for every language.
rateThe standard rate, a percentage as a decimal string: 0 to 100, at most four digits after the point. Kept exactly — never as a float — and answered in its shortest form (20.0 is 20).
country_codeThe country's ISO 3166-1 alpha-2 code — two uppercase letters — and the rate's id: the resource is websites/{website}/catalog_tax_rates/{country_code}, and de there is NOT_FOUND. Required on create and fixed afterwards.
class_ratesThe rates of the tax classes that differ here: each {tax_class_id, rate}, tax_class_id a class of catalog_tax_classes, rate written as above. At most one entry per class and at most 20; a class without one pays the standard rate. Replaced whole when sent; null under update_mask empties it.
CatalogTaxRateUpdate
display_nameThe name of the tax the buyer reads — «VAT», «MwSt.». 1 to 50 characters, kept without the spaces around them. One for every language.
rateThe standard rate, a percentage as a decimal string: 0 to 100, at most four digits after the point. Kept exactly — never as a float — and answered in its shortest form (20.0 is 20).
class_ratesThe rates of the tax classes that differ here: each {tax_class_id, rate}, tax_class_id a class of catalog_tax_classes, rate written as above. At most one entry per class and at most 20; a class without one pays the standard rate. Replaced whole when sent; null under update_mask empties it.
CartLine
nameThe line's resource name: websites/{website}/carts/{cart}/lines/{line}.
idThe line's id within its cart: 8 characters.
variant_idThe variant of the catalog the line holds; a cart has one line per variant.
product_idThe product of the catalog the variant belongs to.
skuThe variant's SKU when the line was last priced.
quantityHow many units: 1 to 100000.
unit_priceWhat one unit costs the cart's visitor: {regular?, final, source, source_id?} — final what is paid, regular the regular price beside it, source whose final is (REGULAR, SALE, PRICE_LIST, RULE) and source_id the price list or the last price rule it came from.
line_totalunit_price.final × quantity.
tax_rateThe rate the line pays, a percentage as a decimal string — the rate its product's tax class has in the cart's country, else that country's standard one. Absent on a line that is not taxed.
tax_amountThe tax of the line, rounded on its own, on its line_total: on top of it, or the part of it that is tax when the prices hold it. Absent on a line that is not taxed.
priced_atWhen the line's price was last resolved.
Cart
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
statusACTIVE while its visitor fills it; CONVERTED once its checkout made an order of it (order_id); MERGED when it was a guest's whose lines went into their customer account's cart on signing in.
customer_idThe website's customer whose cart it is; absent on a guest's. A customer has one ACTIVE cart at most.
view_idThe view of the website the cart is on — the one its visitor last shopped on: its prices are that view's, in the currency of its market.
market_idThe market of the cart's view — websites/{website}/catalog_markets/{market_id} — empty when the view names none. Read when the cart is made on the view or moved to it, and whenever every line is priced: a view put on another market reaches the cart at its next such reprice, at its checkout at the latest.
currency_codeThe currency of every price of the cart: its market's, read with market_id.
shipping_destinationWhere its visitor said the cart's goods go — at the checkout, its shipping address: {country_code, region?, city?, postal_code?}, the country ISO 3166-1 alpha-2, the region a code of the country's list where it has one, a part not given left out. The cart is taxed by its country; absent, by the first country of its market — a market without countries then taxes nothing.
prices_include_taxWhether the cart's prices hold the tax already: the mode of its market when the tax was last worked out. False, the tax comes on top of them.
group_idsThe customer groups the cart's prices were last resolved for — its customer's then; empty on a guest's.
line_countHow many lines the cart holds — one per variant, at most 5000. The lines are read a page at a time from carts/{cart}/lines.
subtotalWhat the lines come to: the sum of their line_total, a google.type.Money in the cart's currency.
shipping_requiredWhether the website shipped what it sells when the cart was last written: a shipping provider of it was on and ready.
shipping_methodsThe ways to ship the cart was offered at its last write for its destination and lines, in the order its visitor saw them: [{code, provider, display_name, description?, amount, delivery_days_min?, delivery_days_max?}], amount a google.type.Money in the cart's currency, the names in the language of its view. Empty without a destination, without a line, or where nothing ships.
shipping_methodThe code of the way to ship chosen, one of shipping_methods: the one its visitor chose while it is offered, else the first. Absent without an offer.
shipping_totalWhat the way to ship chosen costs, a google.type.Money in total; its tax is in tax_lines and tax_total. Absent without a way chosen.
tax_linesThe tax of the lines and of the shipping by name and rate, the highest rate first: [{display_name, rate, amount}], rate a percentage as a decimal string. Empty when nothing is taxed.
tax_totalThe tax of the cart: the sum of its lines' tax_amount and of its shipping's tax, a google.type.Money, zero when nothing is taxed.
totalWhat the cart costs: subtotal + shipping_total + tax_total while the tax comes on top of the prices, subtotal + shipping_total while they hold it.
repriced_atWhen every line of the cart was last priced at once. Reading a cart here prices nothing: a line's own priced_at says when its price was resolved.
order_idThe order a CONVERTED cart became, websites/{website}/orders/{order_id}.
expire_timeWhen the cart is deleted unless it changes before: 30 days past its last change for a guest's, 90 for a customer's.
Dispute
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
providerThe payment provider the disputed payment was made at — the id of one of the website's payment_providers.
provider_refThe dispute's id at the provider: what its dashboard finds it by — of a payment the provider took back naming no dispute, the id it gives what took it back.
transaction_idThe payment disputed: the id of a SALE or a CAPTURE of the order's transactions.
statusWhere the dispute is, as the provider reports it: NEEDS_RESPONSE — the customer's bank waits for the shop's evidence, due by respond_by_time; UNDER_REVIEW — the evidence is with the bank; WON — closed for the shop, no money moved; LOST — closed for the customer: the provider took the amount back, a CHARGEBACK of the order's transactions. WON and LOST move no more.
amountThe amount disputed, a google.type.Money in the order's currency — what the shop loses should the dispute be lost.
reasonWhy the customer's bank disputes the payment, in the provider's own code, at most 100 characters; empty when it named none. REVERSED is the platform's own: the provider took the payment back naming no dispute — recorded LOST at once.
respond_by_timeWhen the shop's evidence is due at the provider; absent when the provider named no date. A dispute left unanswered by then is lost.
provider_uriThe page of the provider's dashboard that shows the dispute — where the shop answers it — where the provider has one.
close_timeWhen the dispute closed, WON or LOST; absent before.
DraftOrderLine
nameThe line's resource name: websites/{website}/draft_orders/{draft_order}/lines/{line}.
idThe line's id within its draft: 8 characters.
variant_idThe variant of the catalog the line holds: one on sale on the draft's view — the variant and its product on, the product shown there — and priced in its currency, else refused on it. Required on create, fixed afterwards; a variant the draft holds already adds to its line.
quantityHow many units: 1 to 100000 — the line's after an add too. A variant whose stock is tracked is held to it: more than is in stock is OUT_OF_STOCK.
product_idThe product of the catalog the variant belongs to.
skuThe variant's SKU when the line was last priced.
display_nameThe product's name as the draft's view shows it, in its language. Absent when the view no longer serves the product — switched off, hidden there, deleted — and the next pricing of every line takes the line out.
variant_optionsThe variant's values along its product's axes: [{key, display_name, value, label}], named in the view's language. Empty for a product without options.
image_media_idThe picture of the line's variant — its own first one, else its product's — as websites/{website}/media/{image_media_id}. Absent without one.
unit_priceWhat one unit costs the draft's customer — a guest, when it has none: {regular?, final, source, source_id?} — final what is paid, regular the regular price beside it, source whose final is (REGULAR, SALE, PRICE_LIST, RULE) and source_id the price list or the last price rule it came from. The price the checkout gives the same customer on the same view — unless the line has its own price: final is then price_override.unit_price, source MANUAL, and regular the catalog's price beside it — its regular one, else the one it would charge the customer.
price_overrideThe line's own price, given by the shop's user in the catalog's place — agreed with the customer, marked down, a replacement at no cost: {unit_price, reason?}, unit_price a google.type.Money in the draft's currency, to its minor unit and never below zero — zero gives the line away — and reason why, at most 200 characters. Written by an Update of the line (update_mask=price_override), refused PRICE_OVERRIDE_DISABLED where the draft's capabilities do not name PRICE_OVERRIDE; null there gives the line the catalog's price again. The line is priced by the catalog all the same — its variant must still be sold on the view — and keeps the own price through every later pricing of the draft, a quantity changed or an add of its variant too; a move to a view of another currency takes it off (price_changes.price_overrides_dropped). Absent on a line the catalog prices.
line_totalunit_price.final × quantity.
tax_rateThe rate the line pays, a percentage as a decimal string — the rate its product's tax class has in the draft's country, else that country's standard one. Absent on a line that is not taxed.
tax_amountThe tax of the line, rounded on its own, on its line_total: on top of it, or the part of it that is tax when the prices hold it. Absent on a line that is not taxed.
availableHow many units of the variant are in stock now, when its stock is tracked (inventory_levels/{variant_id}); absent, it is sold in any quantity. A line holding more is the draft's OUT_OF_STOCK issue.
priced_atWhen the line's price was last resolved.
DraftOrderLineCreate
quantityHow many units: 1 to 100000 — the line's after an add too. A variant whose stock is tracked is held to it: more than is in stock is OUT_OF_STOCK.
variant_idThe variant of the catalog the line holds: one on sale on the draft's view — the variant and its product on, the product shown there — and priced in its currency, else refused on it. Required on create, fixed afterwards; a variant the draft holds already adds to its line.
price_overrideThe line's own price, given by the shop's user in the catalog's place — agreed with the customer, marked down, a replacement at no cost: {unit_price, reason?}, unit_price a google.type.Money in the draft's currency, to its minor unit and never below zero — zero gives the line away — and reason why, at most 200 characters. Written by an Update of the line (update_mask=price_override), refused PRICE_OVERRIDE_DISABLED where the draft's capabilities do not name PRICE_OVERRIDE; null there gives the line the catalog's price again. The line is priced by the catalog all the same — its variant must still be sold on the view — and keeps the own price through every later pricing of the draft, a quantity changed or an add of its variant too; a move to a view of another currency takes it off (price_changes.price_overrides_dropped). Absent on a line the catalog prices.
DraftOrderLineUpdate
quantityHow many units: 1 to 100000 — the line's after an add too. A variant whose stock is tracked is held to it: more than is in stock is OUT_OF_STOCK.
price_overrideThe line's own price, given by the shop's user in the catalog's place — agreed with the customer, marked down, a replacement at no cost: {unit_price, reason?}, unit_price a google.type.Money in the draft's currency, to its minor unit and never below zero — zero gives the line away — and reason why, at most 200 characters. Written by an Update of the line (update_mask=price_override), refused PRICE_OVERRIDE_DISABLED where the draft's capabilities do not name PRICE_OVERRIDE; null there gives the line the catalog's price again. The line is priced by the catalog all the same — its variant must still be sold on the view — and keeps the own price through every later pricing of the draft, a quantity changed or an add of its variant too; a move to a view of another currency takes it off (price_changes.price_overrides_dropped). Absent on a line the catalog prices.
DraftOrder
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
statusOPEN while the shop puts it together — every write takes it; COMPLETED once it was made an order (order_id): it takes no write and no Delete any more, and is read as it was then.
view_idThe view of the website the order is placed on — an active one, whether its storefront sells or not: its market prices every line, in its currency, and names the products in its language. Required on create. Written again, the draft moves to that view: every line is priced there, a line it does not sell or price is taken out, and a shipping address outside its market is dropped — price_changes says what moved, and ?validate_only=true shows it first.
market_idThe market of the draft's view — websites/{website}/catalog_markets/{market_id} — empty when the view names none. Read when the draft is made on the view or moved to it, and whenever every line is priced.
currency_codeThe currency of every price of the draft: its market's, read with market_id.
prices_include_taxWhether the draft's prices hold the tax already: the mode of its market when the tax was last worked out. False, the tax comes on top of them.
customer_idThe website's customer the order is for — websites/{website}/customers/{customer_id}; absent, the order is a guest's. Written, every line is priced for the customer's groups, and email and display_name not written beside it are taken from the customer; an id the website has no customer of is refused on it. null under update_mask makes it a guest's again, at a guest's prices.
emailThe address the order's letters go to, lowercased as an order keeps it. Required before the draft is completed (EMAIL_REQUIRED).
display_nameThe name the order is placed under, at most 200 characters. Required before the draft is completed (DISPLAY_NAME_REQUIRED).
group_idsThe customer groups the draft's prices were last resolved for — its customer's then; empty for a guest's.
shipping_addressWhere the order goes and to whom, written whole: {recipient_name?, organization?, country_code, region?, sublocality?, city?, postal_code?, address_line1, street_number?, address_line2?, phone?}, the country ISO 3166-1 alpha-2 and the parts its address format requires (address_formats/{country_code}), each part wrong refused on shipping_address.<part>. Its country must be one the draft's market sells to — else refused on shipping_address.country_code. The draft is taxed by it and offered the ways to ship there (shipping_methods). A phone is never required. null under update_mask clears it.
billing_addressWhom and where the order is billed to, of the parts of shipping_address and written whole the same way; absent, the order is billed to its shipping address. null under update_mask clears it.
tax_idThe customer's tax number as typed, at most 64 characters: read as a number of the payer's country — the billing address's, else the shipping address's — once there is an address, and refused on it when it is none of that country's.
shipping_requiredWhether the website ships what it sells: a shipping provider of it is on and ready. True, the draft is offered ways to ship (shipping_methods) once it has a shipping address and a line.
shipping_methodsThe ways to ship the draft is offered for its shipping address and its lines, in the order to show them, asked of the providers again by every write: [{code, provider, display_name, description?, amount, delivery_days_min?, delivery_days_max?}], amount a google.type.Money in the draft's currency, the names in the language of its view. Last, while the draft has its own shipping (custom_shipping), the offer of it: manual:custom of the provider manual. Empty without an address, without a line, or where nothing ships — but for that one.
shipping_methodThe code of the way to ship chosen, one of shipping_methods — a code the draft is not offered is SHIPPING_METHOD_UNAVAILABLE — kept while it is offered; else, and until one is written, the first offer. null under update_mask forgets the choice. manual:custom while the draft has its own shipping: a provider's code written — or null — takes that off. Absent without an offer.
shipping_totalWhat the way to ship chosen costs, a google.type.Money in total; its tax is in tax_lines and tax_total. Absent without a way chosen.
custom_shippingThe draft's own shipping, set by hand instead of what the providers offer: {display_name?, amount}, amount a google.type.Money in the draft's currency to its minor unit, never below zero — zero ships it free — display_name the name the customer reads, at most 100 characters; without one, the word the order's letters label the shipping with in the language of the draft's view («Shipping», «Versand»). Offered as manual:custom after the providers' offers and chosen — so it is taxed as the shipping is and in total — on a website that ships nothing too, and to an address nothing is offered for; a recalculation keeps it while the draft stays in its currency (another one takes it off: price_changes.custom_shipping_dropped). The order ships by it: shipping.provider manual. Refused CUSTOM_SHIPPING_DISABLED where the draft's capabilities do not name CUSTOM_SHIPPING; a shipping_method other than manual:custom beside it is refused on shipping_method. null under update_mask — the providers' first offer again. Absent while the draft ships by what is offered.
payment_methodsThe ways to pay the draft may be given now: BANK_TRANSFER and CASH_ON_DELIVERY, then every online way of a payment provider the website has connected and switched on that takes the draft's currency — whatever the website's checkout.payment_methods offers its visitors. An online way means the customer pays the order on their own, at the provider. Worked out for every Get and every write and kept nowhere: a List's rows do not carry it.
payment_methodHow the customer pays, one of payment_methods — a way to pay the draft is not given now is PAYMENT_METHOD_UNAVAILABLE, a code that is no way to pay at all is refused on it. Required before the draft is completed (PAYMENT_METHOD_REQUIRED). An online way's order is placed unpaid and waits for its payment for payment_window_minutes; one whose provider was disconnected since it was chosen keeps the draft from its order (PAYMENT_METHOD_UNAVAILABLE in completion_issues).
payment_window_minutesHow long the order of an online way to pay waits for its payment from its placement, in whole minutes: 30 to 43200 (thirty days). The order's units stay off the stock all that time; unpaid at its end, the order is cancelled and its units are back in stock. Absent — the window the website gives its own checkout (checkout.payment_window_minutes), or the one of the way to pay's provider; null under update_mask clears it. An offline way to pay does not read it.
noteWhat the customer asked to add for the shop, at most 2,000 characters over several lines — the order's note, shown to them as theirs.
staff_noteWhat the shop's users write on the order for each other, at most 2,000 characters over several lines — the order's staff_note; the customer never sees it.
line_countHow many lines the draft holds — one per variant, at most 250. The lines are read and written at draft_orders/{draft_order}/lines.
subtotalWhat the lines come to: the sum of their line_total, a google.type.Money in the draft's currency.
tax_linesThe tax of the lines and of the shipping by name and rate, the highest rate first: [{display_name, rate, amount}], rate a percentage as a decimal string. Empty when nothing is taxed.
tax_totalThe tax of the draft: the sum of its lines' tax_amount and of its shipping's tax, a google.type.Money, zero when nothing is taxed.
totalWhat the order costs: subtotal + shipping_total + tax_total while the tax comes on top of the prices, subtotal + shipping_total while they hold it.
repriced_atWhen every line was last priced at once. A Get or a write of an open draft priced more than ten minutes ago prices every line again and writes the draft so, price_changes saying what moved.
price_changesWhat the last pricing of every line moved, when it moved something: {change_time, reason, previous_total, lines [{line_id, sku, previous_unit_price, unit_price}], removed_lines [{variant_id, sku, quantity, reason}], previous_shipping_method?, destination_dropped?, price_overrides_dropped?, custom_shipping_dropped?}. reason — REPRICED (the prices were due again), VIEW_CHANGED, CUSTOMER_CHANGED, ORDER_COPIED (made of an order, previous_total and the previous prices the order's); a line taken out for NOT_SOLD, NO_PRICE or NO_VARIANT; destination_dropped — the shipping address went with a market that no longer sells there; price_overrides_dropped — how many lines lost their own price, given in a currency the draft is no longer in; custom_shipping_dropped — the draft's own shipping went for the same reason. A line with its own price is never among lines: its price is the shop's, whatever the catalog says now. The next write of the shop that moves nothing of the kind itself clears it. Absent when there is nothing to say.
completion_issuesWhy the draft cannot be made an order now — empty, it can: [{type, field?, line_id?, available?, description}], in the order the draft is put together. type — LINES_REQUIRED, EMAIL_REQUIRED, DISPLAY_NAME_REQUIRED, SHIPPING_ADDRESS_REQUIRED, SHIPPING_METHOD_REQUIRED (ways are offered, none chosen), SHIPPING_UNAVAILABLE (nothing is offered for the address and the lines), PAYMENT_METHOD_REQUIRED, FIELD_INVALID (a field kept no longer passes its check — field its path), OUT_OF_STOCK (the line line_id holds more than the available units in stock), PAYMENT_METHOD_UNAVAILABLE (the way to pay chosen is not among payment_methods any more: its provider was disconnected or switched off, or the draft moved to a currency it does not take) — or, where the shop limits its users, CUSTOMER_REQUIRED, PHONE_REQUIRED, TAX_ID_REQUIRED, BILLING_ADDRESS_DISABLED, VIEW_NOT_SELLING, PRICE_OVERRIDE_DISABLED (the line line_id holds an own price its users may no longer give), CUSTOM_SHIPPING_DISABLED (the draft holds an own shipping its users may no longer give). With an own shipping, neither SHIPPING_UNAVAILABLE nor SHIPPING_METHOD_REQUIRED is said. field names the field to fix. Worked out for every Get and every write — the stock of every line — and kept nowhere: a List's rows do not carry it; empty for a COMPLETED draft.
capabilitiesWhat the shop's user may do with the draft beyond what the website's checkout does: PRICE_OVERRIDE — give a line its own price (a line's price_override); CUSTOM_SHIPPING — give the draft its own shipping (custom_shipping). A lever not named here is refused when written, and a screen shows it not. Worked out for every Get and every write and kept nowhere: a List's rows do not carry it; empty for a COMPLETED draft.
create_actorWho made the draft: {type: "USER", id}, the user of the account whose token created it.
source_order_idThe order the draft was made a copy of, websites/{website}/orders/{source_order_id} — sent on Create alone, and then alone in the body: any other field beside it is refused on itself. The copy is on the order's view — one no longer active is refused on source_order_id — for its customer, with its contact, its addresses and its tax number; its variants and quantities are the lines, priced today, and the way to ship it was sent by is chosen again while it is offered. Neither its way to pay nor its notes are copied. What the copy changed — a price, a line no longer sold, the way to ship, an address the market no longer sells to — is price_changes, ORDER_COPIED; a line short of the stock is an OUT_OF_STOCK issue. Absent on a draft made otherwise.
order_idThe order a COMPLETED draft became, websites/{website}/orders/{order_id}.
order_numberThe website's number of that order.
complete_timeWhen the draft was made an order.
expire_timeWhen the draft is deleted: a year past its last change — a COMPLETED one a year past its completion. Every write moves it.
DraftOrderCreate
view_idThe view of the website the order is placed on — an active one, whether its storefront sells or not: its market prices every line, in its currency, and names the products in its language. Required on create. Written again, the draft moves to that view: every line is priced there, a line it does not sell or price is taken out, and a shipping address outside its market is dropped — price_changes says what moved, and ?validate_only=true shows it first.
customer_idThe website's customer the order is for — websites/{website}/customers/{customer_id}; absent, the order is a guest's. Written, every line is priced for the customer's groups, and email and display_name not written beside it are taken from the customer; an id the website has no customer of is refused on it. null under update_mask makes it a guest's again, at a guest's prices.
emailThe address the order's letters go to, lowercased as an order keeps it. Required before the draft is completed (EMAIL_REQUIRED).
display_nameThe name the order is placed under, at most 200 characters. Required before the draft is completed (DISPLAY_NAME_REQUIRED).
shipping_addressWhere the order goes and to whom, written whole: {recipient_name?, organization?, country_code, region?, sublocality?, city?, postal_code?, address_line1, street_number?, address_line2?, phone?}, the country ISO 3166-1 alpha-2 and the parts its address format requires (address_formats/{country_code}), each part wrong refused on shipping_address.<part>. Its country must be one the draft's market sells to — else refused on shipping_address.country_code. The draft is taxed by it and offered the ways to ship there (shipping_methods). A phone is never required. null under update_mask clears it.
billing_addressWhom and where the order is billed to, of the parts of shipping_address and written whole the same way; absent, the order is billed to its shipping address. null under update_mask clears it.
tax_idThe customer's tax number as typed, at most 64 characters: read as a number of the payer's country — the billing address's, else the shipping address's — once there is an address, and refused on it when it is none of that country's.
shipping_methodThe code of the way to ship chosen, one of shipping_methods — a code the draft is not offered is SHIPPING_METHOD_UNAVAILABLE — kept while it is offered; else, and until one is written, the first offer. null under update_mask forgets the choice. manual:custom while the draft has its own shipping: a provider's code written — or null — takes that off. Absent without an offer.
custom_shippingThe draft's own shipping, set by hand instead of what the providers offer: {display_name?, amount}, amount a google.type.Money in the draft's currency to its minor unit, never below zero — zero ships it free — display_name the name the customer reads, at most 100 characters; without one, the word the order's letters label the shipping with in the language of the draft's view («Shipping», «Versand»). Offered as manual:custom after the providers' offers and chosen — so it is taxed as the shipping is and in total — on a website that ships nothing too, and to an address nothing is offered for; a recalculation keeps it while the draft stays in its currency (another one takes it off: price_changes.custom_shipping_dropped). The order ships by it: shipping.provider manual. Refused CUSTOM_SHIPPING_DISABLED where the draft's capabilities do not name CUSTOM_SHIPPING; a shipping_method other than manual:custom beside it is refused on shipping_method. null under update_mask — the providers' first offer again. Absent while the draft ships by what is offered.
payment_methodHow the customer pays, one of payment_methods — a way to pay the draft is not given now is PAYMENT_METHOD_UNAVAILABLE, a code that is no way to pay at all is refused on it. Required before the draft is completed (PAYMENT_METHOD_REQUIRED). An online way's order is placed unpaid and waits for its payment for payment_window_minutes; one whose provider was disconnected since it was chosen keeps the draft from its order (PAYMENT_METHOD_UNAVAILABLE in completion_issues).
payment_window_minutesHow long the order of an online way to pay waits for its payment from its placement, in whole minutes: 30 to 43200 (thirty days). The order's units stay off the stock all that time; unpaid at its end, the order is cancelled and its units are back in stock. Absent — the window the website gives its own checkout (checkout.payment_window_minutes), or the one of the way to pay's provider; null under update_mask clears it. An offline way to pay does not read it.
noteWhat the customer asked to add for the shop, at most 2,000 characters over several lines — the order's note, shown to them as theirs.
staff_noteWhat the shop's users write on the order for each other, at most 2,000 characters over several lines — the order's staff_note; the customer never sees it.
source_order_idThe order the draft was made a copy of, websites/{website}/orders/{source_order_id} — sent on Create alone, and then alone in the body: any other field beside it is refused on itself. The copy is on the order's view — one no longer active is refused on source_order_id — for its customer, with its contact, its addresses and its tax number; its variants and quantities are the lines, priced today, and the way to ship it was sent by is chosen again while it is offered. Neither its way to pay nor its notes are copied. What the copy changed — a price, a line no longer sold, the way to ship, an address the market no longer sells to — is price_changes, ORDER_COPIED; a line short of the stock is an OUT_OF_STOCK issue. Absent on a draft made otherwise.
linesThe draft's first lines, on Create alone: [{variant_id, quantity}], at most 250, each as a line's Create takes one — a refused one is named lines[i].<field>, and nothing is created. Never in an answer: the lines are read at draft_orders/{draft_order}/lines.
DraftOrderUpdate
view_idThe view of the website the order is placed on — an active one, whether its storefront sells or not: its market prices every line, in its currency, and names the products in its language. Required on create. Written again, the draft moves to that view: every line is priced there, a line it does not sell or price is taken out, and a shipping address outside its market is dropped — price_changes says what moved, and ?validate_only=true shows it first.
customer_idThe website's customer the order is for — websites/{website}/customers/{customer_id}; absent, the order is a guest's. Written, every line is priced for the customer's groups, and email and display_name not written beside it are taken from the customer; an id the website has no customer of is refused on it. null under update_mask makes it a guest's again, at a guest's prices.
emailThe address the order's letters go to, lowercased as an order keeps it. Required before the draft is completed (EMAIL_REQUIRED).
display_nameThe name the order is placed under, at most 200 characters. Required before the draft is completed (DISPLAY_NAME_REQUIRED).
shipping_addressWhere the order goes and to whom, written whole: {recipient_name?, organization?, country_code, region?, sublocality?, city?, postal_code?, address_line1, street_number?, address_line2?, phone?}, the country ISO 3166-1 alpha-2 and the parts its address format requires (address_formats/{country_code}), each part wrong refused on shipping_address.<part>. Its country must be one the draft's market sells to — else refused on shipping_address.country_code. The draft is taxed by it and offered the ways to ship there (shipping_methods). A phone is never required. null under update_mask clears it.
billing_addressWhom and where the order is billed to, of the parts of shipping_address and written whole the same way; absent, the order is billed to its shipping address. null under update_mask clears it.
tax_idThe customer's tax number as typed, at most 64 characters: read as a number of the payer's country — the billing address's, else the shipping address's — once there is an address, and refused on it when it is none of that country's.
shipping_methodThe code of the way to ship chosen, one of shipping_methods — a code the draft is not offered is SHIPPING_METHOD_UNAVAILABLE — kept while it is offered; else, and until one is written, the first offer. null under update_mask forgets the choice. manual:custom while the draft has its own shipping: a provider's code written — or null — takes that off. Absent without an offer.
custom_shippingThe draft's own shipping, set by hand instead of what the providers offer: {display_name?, amount}, amount a google.type.Money in the draft's currency to its minor unit, never below zero — zero ships it free — display_name the name the customer reads, at most 100 characters; without one, the word the order's letters label the shipping with in the language of the draft's view («Shipping», «Versand»). Offered as manual:custom after the providers' offers and chosen — so it is taxed as the shipping is and in total — on a website that ships nothing too, and to an address nothing is offered for; a recalculation keeps it while the draft stays in its currency (another one takes it off: price_changes.custom_shipping_dropped). The order ships by it: shipping.provider manual. Refused CUSTOM_SHIPPING_DISABLED where the draft's capabilities do not name CUSTOM_SHIPPING; a shipping_method other than manual:custom beside it is refused on shipping_method. null under update_mask — the providers' first offer again. Absent while the draft ships by what is offered.
payment_methodHow the customer pays, one of payment_methods — a way to pay the draft is not given now is PAYMENT_METHOD_UNAVAILABLE, a code that is no way to pay at all is refused on it. Required before the draft is completed (PAYMENT_METHOD_REQUIRED). An online way's order is placed unpaid and waits for its payment for payment_window_minutes; one whose provider was disconnected since it was chosen keeps the draft from its order (PAYMENT_METHOD_UNAVAILABLE in completion_issues).
payment_window_minutesHow long the order of an online way to pay waits for its payment from its placement, in whole minutes: 30 to 43200 (thirty days). The order's units stay off the stock all that time; unpaid at its end, the order is cancelled and its units are back in stock. Absent — the window the website gives its own checkout (checkout.payment_window_minutes), or the one of the way to pay's provider; null under update_mask clears it. An offline way to pay does not read it.
noteWhat the customer asked to add for the shop, at most 2,000 characters over several lines — the order's note, shown to them as theirs.
staff_noteWhat the shop's users write on the order for each other, at most 2,000 characters over several lines — the order's staff_note; the customer never sees it.
linesThe draft's first lines, on Create alone: [{variant_id, quantity}], at most 250, each as a line's Create takes one — a refused one is named lines[i].<field>, and nothing is created. Never in an answer: the lines are read at draft_orders/{draft_order}/lines.
Fulfillment
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
statusWhere the fulfillment is: SHIPPED once it is recorded — its units are on their way; DELIVERED once :mark_delivered says they arrived; CANCELLED once :cancel took it back, its units left to send again. DELIVERED and CANCELLED move no more.
linesThe units it sends: [{line_id, quantity}], line_id the id of a line of the order, each line once, and how many of its units — no more than are left to send of it (quantity − cancelled_quantity − fulfilled_quantity). Left out on Create, every unit left to send of every line. Set on Create alone.
trackingHow the parcel is followed, each part when the shop has it: {carrier?, tracking_number?, tracking_uri?} — the carrier's name and its tracking number, up to 100 characters each, and the page that follows the parcel, an http or https URL of up to 2000. Absent when none was given; Update with update_mask=tracking replaces it whole, null clears it.
ship_timeWhen the units were sent: when the fulfillment was recorded.
deliver_timeWhen :mark_delivered said the units arrived; absent before.
cancel_timeWhen :cancel took the fulfillment back; absent on one not cancelled.
actorWho recorded the fulfillment: {type, id?} — type USER and id the user of the account who created it.
FulfillmentCreate
linesThe units it sends: [{line_id, quantity}], line_id the id of a line of the order, each line once, and how many of its units — no more than are left to send of it (quantity − cancelled_quantity − fulfilled_quantity). Left out on Create, every unit left to send of every line. Set on Create alone.
trackingHow the parcel is followed, each part when the shop has it: {carrier?, tracking_number?, tracking_uri?} — the carrier's name and its tracking number, up to 100 characters each, and the page that follows the parcel, an http or https URL of up to 2000. Absent when none was given; Update with update_mask=tracking replaces it whole, null clears it.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the order already has a fulfillment of answers that fulfillment and sends nothing again.
notify_customerWhether the customer is sent the order_shipped email of the fulfillment — what this parcel holds, its tracking and where it goes — in the language of the view the order was placed on. True unless you send false; read on Create alone.
FulfillmentUpdate
trackingHow the parcel is followed, each part when the shop has it: {carrier?, tracking_number?, tracking_uri?} — the carrier's name and its tracking number, up to 100 characters each, and the page that follows the parcel, an http or https URL of up to 2000. Absent when none was given; Update with update_mask=tracking replaces it whole, null clears it.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the order already has a fulfillment of answers that fulfillment and sends nothing again.
notify_customerWhether the customer is sent the order_shipped email of the fulfillment — what this parcel holds, its tracking and where it goes — in the language of the view the order was placed on. True unless you send false; read on Create alone.
InventoryLevel
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
variant_idThe variant of the website's catalog whose units this counts, and the level's id: the resource is websites/{website}/inventory_levels/{variant_id}. A variant has one level at most. Required on create and fixed afterwards.
product_idThe product the variant belongs to, set by the server from the variant. Deleting the product, or the variant, deletes the level.
quantityHow many units of the variant are in stock: a whole number from 0 to 1000000000. An order takes its units off when it is placed and refuses a quantity the stock does not cover; a cancelled order gives them back. Set it here, or move it by a difference with :adjust.
InventoryLevelCreate
quantityHow many units of the variant are in stock: a whole number from 0 to 1000000000. An order takes its units off when it is placed and refuses a quantity the stock does not cover; a cancelled order gives them back. Set it here, or move it by a difference with :adjust.
variant_idThe variant of the website's catalog whose units this counts, and the level's id: the resource is websites/{website}/inventory_levels/{variant_id}. A variant has one level at most. Required on create and fixed afterwards.
InventoryLevelUpdate
quantityHow many units of the variant are in stock: a whole number from 0 to 1000000000. An order takes its units off when it is placed and refuses a quantity the stock does not cover; a cancelled order gives them back. Set it here, or move it by a difference with :adjust.
Order
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
numberThe website's own number of the order: 1001 for the first placed, one more for each after it, never reused. What the shop, its customer and its letters call the order; number = 1001 finds one.
statusWhere the order is in its life, worked out from its facts after each of them: OPEN while money or units are owed either way; COMPLETED once nothing is outstanding (outstanding_total zero) and every unit not cancelled is sent (fulfillment_status FULFILLED) with no return asked for or open and no dispute open — OPEN again should a later fact undo that; CANCELLED by :cancel, or once refunds took off its last units while none was sent — for good. No method takes it: each records a fact.
payment_statusWhere the money is, worked out from transactions: PENDING — nothing paid yet; AUTHORIZED — held by an online payment, not taken: :capture_payment takes it, :void_payment lets it go; PARTIALLY_PAID, PAID — part or all of current_total received (an order that costs nothing is PAID); PARTIALLY_REFUNDED, REFUNDED — part or all of it given back; VOIDED — cancelled before anything was paid. A paid order cancelled stays PAID, its outstanding_total below zero, until the money of its refund goes back — REFUNDED then.
fulfillment_statusWhere the units are, worked out from the lines' fulfilled_quantity: UNFULFILLED — none sent; PARTIALLY_FULFILLED — some; FULFILLED — every unit not cancelled. It follows the order's fulfillments; :cancel takes only an UNFULFILLED order.
return_statusWhere the goods sent back are, worked out from the order's returns: NO_RETURN — none, or only declined and cancelled ones; RETURN_REQUESTED — the customer asked for one and the shop has not answered; RETURN_IN_PROGRESS — else one is open, its goods on their way back or received; RETURNED — else one is closed. An order with a return asked for or open is not COMPLETED. return_status = "RETURN_REQUESTED" finds the requests waiting for the shop.
dispute_statusWhere the disputes of the order's payments are — a customer's bank disputing a payment at the payment provider, a chargeback — worked out from the order's disputes: NO_DISPUTE — none; DISPUTE_OPEN — one waits for the shop's evidence or for the bank's decision; DISPUTE_LOST — else one was lost, its money taken back (a CHARGEBACK of transactions); DISPUTE_WON — else one was won. An order with a dispute open is not COMPLETED. dispute_status = "DISPUTE_OPEN" finds the disputes to answer, in the payment provider's dashboard.
originWhere the order comes from: CHECKOUT — a cart its visitor checked out on the website, cart_id that cart; DRAFT_ORDER — a draft order a user of the account put together and completed, draft_order_id that draft. origin = "DRAFT_ORDER" finds the orders the shop placed itself.
create_actorWho placed the order: {type, id?} — type CUSTOMER for an order of a checkout, id the signed-in customer's and absent for a guest's; USER and id the user of the account who completed the draft order.
customer_idThe website's customer the order is of — who placed it signed in, or whom the draft order was made for; absent on a guest's order.
emailThe address the order's letters go to, lowercased as the checkout took it; a filter on it compares in any case — email = "Ana@Example.com" finds ana@example.com.
display_nameThe name of the customer who placed the order.
shipping_addressWhere the order goes and to whom: {recipient_name, organization?, country_code, region?, sublocality?, city?, postal_code?, address_line1, street_number?, address_line2?, phone?}, the country as ISO 3166-1 alpha-2, the rest as the customer typed it and the country's address format took it (address_formats/{country_code}): region the code of one of its regions where it lists them, a part absent where the address has none — city and postal_code too. recipient_name is the person to deliver to, always there — the order's display_name when the checkout named nobody else; organization their company; sublocality the district within the city; street_number the house number where the address names it apart from the street (address_line1 is then the street alone); phone a number to reach them on, when the checkout was given one.
billing_addressWhom and where the order is billed to — the name and the address for the invoice — always there and of the same parts as shipping_address. The address the customer gave apart at the checkout, where checkout.billing_address_mode lets them; else a copy of shipping_address made out to the order's display_name, without the phone (billing_same_as_shipping).
billing_same_as_shippingTrue when billing_address is the copy of shipping_address the checkout made: the customer gave no billing address apart. False, they gave one, whatever it says.
noteWhat the customer added for the shop at the checkout, when they did.
staff_noteWhat the shop's users wrote on the order for each other, at most 2,000 characters — the customer never sees it. Absent when nobody wrote one.
payment_methodHow the customer chose to pay at the checkout: a code of checkout.payment_methods — BANK_TRANSFER, CASH_ON_DELIVERY, or an online one of a payment provider the website connected, which the customer pays on the provider's page (payment_sessions). Every payment :mark_paid records is by it.
payment_due_timeUntil when an order paid by an online way to pay waits for its payment: placed plus checkout.payment_window_minutes as it was then. Its customer opens payment sessions until then; unpaid, the platform cancels it after — never one whose payment is held (AUTHORIZED) or still worked on at the provider. Absent on an order paid offline, and once its hold was let go of (:void_payment): the platform cancels it no more. Set anew when a payment the provider was working on is refused after all: the refusal's time plus the window.
payment_uriThe link the customer pays the order by: the page of the website's storefront, in the order's view, where they see what they pay for and go on to the payment provider — signed in or not, nothing else asked. There on an order of a draft order paid online while it waits for its payment — not cancelled, something outstanding, no payment of it held or on its way at the provider, before its payment_due_time. Absent on every other order, and while the website has no address. Whoever holds it can pay the order and see its lines: send it to the customer alone.
tax_idThe customer's tax number, where checkout.tax_id_requirement asked for one and they gave it — the buyer's number an invoice or an NF-e names: {type, value}. type is the server's, by the country of billing_address: BR_CPF (11 digits) or BR_CNPJ (14 letters and digits) in Brazil, their check digits verified; EU_VAT in a country of the European Union and GB_VAT in the United Kingdom, the country's prefix and 2 to 12 letters and digits; OTHER elsewhere, at most 40 characters. value is kept without dots, hyphens, slashes and spaces, in capitals. Absent when the order has none.
linesWhat was bought, a copy of the cart's lines at the checkout: [{id, variant_id, product_id, sku, display_name, variant_options, quantity, fulfilled_quantity, cancelled_quantity, returned_quantity, unit_price, regular?, price_override?, line_total, tax_rate?, tax_amount?, refunded_amount, weight?}] — the product's name and the variant's values as the order's view named them, and the prices and the tax then, none of it changed when the catalog or the rates are. price_override {reason?} marks a line whose price a user of the shop set by hand in the order's draft: unit_price is that price — zero for a line given away — regular the catalog's beside it, and reason why, when the user said; it is absent on a line priced by the catalog, and the customer never reads it. tax_rate and tax_amount are absent on a line that was not taxed. id is the cart line's the line was copied from, 8 characters, and names the line within the order. fulfilled_quantity is how many of its units were sent and cancelled_quantity how many will not be — both 0 as placed; a fulfillment sends units of it and its cancellation gives them back to what is left to send, :cancel cancels every unit not sent, and a refund cancels the units it takes back. returned_quantity is how many of the units sent came back — a return's :receive counts them — and refunded_amount what the order's refunds gave back of line_total — never more than it — 0 and zero as placed. weight is one unit's weight as the cart last priced the line, a decimal string in the website's unit of weight (general.catalog.weight_unit), absent for a variant without one.
subtotalWhat the lines come to: the sum of their line_total, a google.type.Money in the order's currency.
shipping_totalWhat the way to ship costs, a google.type.Money in the order's currency: the amount of shipping as the checkout took it — in total, its tax in tax_total. Absent on an order of a website that did not ship.
shippingHow the order ships — the way to ship its customer chose at the checkout, copied from the cart's offer then and never quoted again: {method, provider, display_name, description?, delivery_days_min?, delivery_days_max?, tax_rate?, tax_amount?, refunded_amount}. method is the code of the way, <provider>:<method> — what the checkout was sent as shipping_method; provider the shipping provider's id; display_name and description as the provider named it in the language of the order's view; delivery_days_min and delivery_days_max the days to deliver it gave, when it gave them. tax_rate (a percentage as a decimal string) and tax_amount are what the shipping paid — the rate of the destination's country for checkout.shipping_tax_class_id — absent when it was not taxed; refunded_amount is what the order's refunds gave back of shipping_total — their shipping_amount — zero as placed, all of it once :cancel cancelled the order. An order of a draft given its own shipping (the draft's custom_shipping) ships by manual:custom of the provider manual, under the name the shop gave it, on a website that ships nothing too. Absent on any other order of a website that did not ship.
totalWhat the order costs: subtotal + shipping_total + tax_total when the tax came on top of the prices, subtotal + shipping_total when they held it. order_by=total desc sorts by the whole Money — its currency's code first, the amount within each currency.
current_totalWhat the order costs now, a google.type.Money: total less the total of each of its refunds — zero once :cancel cancelled it, its refund giving back everything left, the shipping too.
paid_totalWhat the shop has received: the SALE and CAPTURE transactions that SUCCEEDED, a google.type.Money.
refunded_totalWhat the shop has given back: the REFUND transactions that SUCCEEDED, and the CHARGEBACK ones — money a payment provider took back for a dispute the shop lost — a google.type.Money.
outstanding_totalWhat is still owed: current_total − paid_total + refunded_total, a google.type.Money. Above zero the customer owes it — what :mark_paid without a body records; below zero the shop owes it back — a paid order cancelled, a refund whose money has not gone back yet — units and nanos both negative then.
provider_refundable_totalHow much can still be given back to the customer through the payment providers, a google.type.Money: for each SALE and CAPTURE of a provider that SUCCEEDED, its amount less the REFUND and CHARGEBACK transactions of it (parent_id) that did not fail — one still PENDING counts, its money is on its way back. Zero for an order paid offline: money the shop recorded with :mark_paid goes back past the platform.
tax_country_codeThe country the order's tax went by, ISO 3166-1 alpha-2: the country of its shipping_address.
prices_include_taxWhether the order's prices held the tax already: the mode of its market at the checkout. False, the tax came on top of them.
tax_linesThe tax of the lines and of the shipping by name and rate, the highest rate first, a copy of the cart's at the checkout: [{display_name, rate, amount}], rate a percentage as a decimal string. Empty when nothing was taxed; changing a rate later changes nothing here.
tax_totalThe tax of the order: the sum of its lines' tax_amount and the shipping's, a google.type.Money, zero when nothing was taxed.
currency_codeThe currency of every amount of the order: its cart's when it was checked out — the currency of the market the order was placed on.
view_idThe view of the website the order was placed on — its cart's.
market_idThe market the order was placed on — websites/{website}/catalog_markets/{market_id}, its cart's at the checkout — empty when its view named no market. It never changes after, whatever happens to the market.
cart_idThe cart the order was made of, websites/{website}/carts/{cart_id} — there on an order of the website's checkout (origin CHECKOUT), whose second checkout of that cart answers this order; absent on one of a draft order.
draft_order_idThe draft order the order was completed from — there on an order of origin DRAFT_ORDER, absent on one of the website's checkout.
cancel_reasonWhy the order was cancelled: the reason the shop gave :cancel, when it gave one, or Payment was not received in time when the platform cancelled it unpaid at its payment_due_time.
cancel_timeWhen the order was cancelled; absent on an order not cancelled.
cancel_actorWho cancelled the order: {type, id?} — type USER and id the user of the account who called :cancel, or SYSTEM, no id, when the platform cancelled an order paid online that was still unpaid at its payment_due_time. Absent on an order not cancelled.
transactionsThe order's journal of money, the oldest first, each entry recorded once and never changed but for its settling: [{id, kind, status, amount, method, parent_id?, provider?, provider_ref?, provider_uri?, refund_id?, payment_session_id?, dispute_id?, create_time, settle_time?, failure_reason?, expire_time?, actor}]. kind is AUTHORIZATION, CAPTURE, SALE, REFUND, VOID or CHARGEBACK — money a payment provider took back from the shop for a dispute the shop lost; status PENDING, SUCCEEDED or FAILED: a PENDING transaction waits for its provider and is settled once — SUCCEEDED or FAILED, settle_time when, and on a refusal failure_reason, the provider's own words, at most 500 bytes — and moves no more; neither PENDING nor FAILED counts in paid_total or refunded_total. amount is a google.type.Money in the order's currency; method the way it was paid, a code of checkout.payment_methods; parent_id the transaction it follows — the SALE or CAPTURE a REFUND or a CHARGEBACK gives back; provider and provider_ref an online payment's provider and its id there; provider_uri the page of the provider's dashboard that shows it, where the provider has one; refund_id the refund of the order whose money a REFUND gave back; payment_session_id the payment session an online payment was made in; dispute_id the dispute of disputes a CHARGEBACK lost; expire_time when the provider lets go of the money an AUTHORIZATION holds, when it said; actor {type, id?} who recorded it. Empty as placed; :mark_paid records a SALE that SUCCEEDED, of the amount paid, by the user who called it (actor.type USER), and a refund's money going back a REFUND of its payout_amount — recorded by the shop, or, sent through the payment provider, one of each payment it is laid over, its parent_id that payment, PENDING until the provider settles it. A payment at the payment provider is a SALE of the amount the provider took, recorded once by its provider_ref and by the provider (actor.type PROVIDER, id the provider) — of a cancelled order too, whose outstanding_total then shows below zero what the shop owes back. A payment the provider only holds — its capture mode MANUAL — is an AUTHORIZATION instead: :capture_payment records its CAPTURE, :void_payment and the order's :cancel its VOID, each with the authorization as parent_id — a CAPTURE's provider_ref the payment the capture made, where the provider names one apart from its hold: what its money is given back and disputed by; one the provider took or let go of by itself — at its dashboard, or when the hold expired — is recorded by the provider. A refund made in the payment provider's dashboard is a REFUND of the payment it gives back, recorded by the provider, of no refund of the order (refund_id absent): outstanding_total grows by it until the shop records a refund, whose payout_amount then comes to zero. A dispute lost is a CHARGEBACK of its amount, recorded by the provider — the CHARGEBACKs of one payment never more than it was: one past it is held to what is left, none written when nothing is. paid_total, refunded_total and payment_status are worked out from it. At most 100.
notification_sentWhether every email about the order has gone out: the two about it being placed — the customer's and the shop's — and the customer's about each fulfillment, each refund and its cancellation, unless notify_customer was false. An order paid online at a payment provider waits for its first payment before the two about it being placed are sent: until then nothing waits, and it reads true. False while one waits; the platform sends it again by itself within the next minutes.
PaymentProvider
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
providerThe provider's id, which is the resource's id too: websites/{website}/payment_providers/{provider}. An order's online payment names it as its provider.
display_nameThe provider's name, as the owner reads it.
module_idThe website module that switches the provider on and off: websites/{website}/modules/{module_id}. While it is off the provider's ways to pay are offered nowhere, and :connect and :verify answer FAILED_PRECONDITION MODULE_DISABLED; an account stays connected.
stateWhere the website's account at the provider stands: NOT_CONNECTED — none; CONNECTED — the provider took its credentials at the last check; INVALID — it refused them since, or the platform can no longer read them: connect the account again. Only a CONNECTED account takes payments.
environmentWhether the account moves the provider's test money (TEST) or real money (LIVE): as its credentials say, or — for a provider whose environment_selectable is true — as the owner chose at :connect; the platform calls that environment of the provider. Absent while NOT_CONNECTED.
environment_selectableWhether :connect asks which environment the credentials are of — environment, TEST or LIVE, required then and refused otherwise. True for a provider whose credentials look the same in both, such as an app's client ID and secret; false for one whose credentials say it themselves, such as a key whose prefix names its mode. The provider's, whatever the account.
credential_fieldsWhat :connect asks for, in order: [{key, secret, required}] — key a member of the body's credentials, secret whether its value is never answered back (only its last four characters, in credential_hints), required whether it must be sent. A form is built of it.
credential_hintsThe last four characters of each secret credential of the account, by its key — enough to tell which one is connected, never the credential. Absent while NOT_CONNECTED, and for a value shorter than 12 characters.
accountWhat the provider says of the account the credentials belong to, at the last check: {id, display_name?, country_code?, default_currency_code?} — its id at the provider, its name, its country (ISO 3166-1 alpha-2) and its default currency (ISO 4217). Absent while NOT_CONNECTED.
webhookHow the provider tells the platform of the account's payments: {uri?, state}. REGISTERED — it sends them to uri, the platform's address of this website and provider; MISSING — it sends none, and a payment is confirmed when the customer comes back from the provider's page and by the platform's own check of open payments. :verify registers it again when it is gone. Absent while NOT_CONNECTED.
payment_methodsThe ways to pay the provider brings to the checkout: [{code, available, unavailable_reason?}] — code a code checkout.payment_methods takes; available whether the checkout offers it once it is in that list: the module on, the account CONNECTED and the provider naming no reason it cannot — a cart in a currency the provider takes no payment in is not offered it at :checkout; unavailable_reason why not: MODULE_DISABLED — the provider's module is off; NOT_CONNECTED — no account is connected; ACCOUNT_INVALID — the provider refused the account's credentials since; ACCOUNT_COUNTRY — the account's country cannot take it (Pix: an account in Brazil alone); NOT_ENABLED_AT_PROVIDER — the account has not switched it on at the provider, as :verify last read it. Tolerate a value not listed here.
capabilitiesWhat the provider does beyond taking a payment at once: {manual_capture, partial_capture, saved_methods} — manual_capture whether it can hold a payment for the shop to take later (:capture_payment of an order) or let go of (:void_payment), partial_capture whether it takes less than it holds, saved_methods whether it keeps a signed-in customer's ways to pay for their next orders, once the provider's own setting of saving them is on — false under an account the provider keeps none for, as :verify last read it, whose setting of saving is refused on (PAYMENT_PROVIDER_CAPABILITY). The rest are the provider's, whatever the account.
connect_timeWhen the account was last connected (:connect). Absent while NOT_CONNECTED.
verify_timeWhen the provider was last asked about the credentials — by :connect or :verify. Absent while NOT_CONNECTED.
PaymentProviderUpdate
PaymentSession
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
payment_methodThe order's online way to pay the session was opened for: its payment_method.
providerThe payment provider that brings the way to pay — the id of one of the website's payment_providers.
provider_refThe session's id at the provider: what its dashboard finds the attempt by. Absent for a session paid by a customer's saved way to pay that the provider refused before it made anything.
statusWhere the session is: OPEN — its page at the provider takes the payment; COMPLETED — the customer paid there; EXPIRED — it closed unpaid, by its time or by the platform; CANCELLED — the platform closed it unpaid; FAILED — the provider refused the payment for good. Only OPEN moves — and COMPLETED to FAILED once, when a payment the provider was still working on (a SALE PENDING) is refused after all.
amountWhat the session asks, a google.type.Money in the order's currency: its outstanding_total when the session was opened.
expire_timeWhen the session stops taking the payment: the order's payment_due_time, or the provider's own end of its page when that comes first — a new session is opened after.
complete_timeWhen the customer paid; absent before.
capture_modeHow the provider takes the money, as its setting was when the session was opened: AUTOMATIC — as the customer pays, a SALE of the order; MANUAL — it holds it, an AUTHORIZATION the shop captures (:capture_payment) or lets go of (:void_payment).
PaymentSessionUpdate
Refund
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
statusWhere the refund is: PENDING — the customer is owed its payout_amount and the money has not gone back yet, or is on its way through the payment provider; SUCCEEDED — it went back (pay_time), or nothing was owed in money. :mark_paid, and the payment provider giving back all of it, move PENDING to SUCCEEDED, and nothing moves after.
linesWhat it gives back, line by line: [{line_id, quantity, amount, tax_amount?}]. line_id is the id of a line of the order, each line once. quantity is the units it takes off the order — units not sent, at most quantity − cancelled_quantity − fulfilled_quantity of the line; with return_id, units of the line in that return not given money back yet — or 0 for money off the line's price without units. amount is the part of the line's line_total it gives back, at most what is left of it past the line's refunded_amount; left out on Create, the units' share — line_total over quantity a unit, rounded half up to the currency's minor unit, the line's last unit taking what is left — and required when quantity is 0. tax_amount is the same share of the line's tax_amount, worked out by the server; absent on a line that was not taxed. Required on Create, but for a refund of the shipping alone (shipping_amount), which may leave it out or send it empty. Set on Create alone.
shipping_amountWhat it gives back of the order's shipping_total, a google.type.Money in the order's currency above zero — at most what is left of it past the order's shipping.refunded_amount, which goes up by it. Absent when it gives no shipping back; with it, lines may be left out. A refund that takes off the last units of an order nothing of which was sent, and the refund of :cancel, give back all that is left of the shipping, whatever was asked; a refund of a return's units gives back only what you send here. Set on Create alone.
shipping_tax_amountThe same share of the shipping's tax, a google.type.Money: the order's shipping.tax_rate on shipping_amount, rounded once to the minor unit — all the shipping's tax left once its last is given back. Absent when it gives no shipping back, and when the shipping was not taxed.
tax_linesThe tax its lines and its shipping give back by name and rate, the highest rate first: [{display_name, rate, amount}], rate a percentage as a decimal string and the name the order's tax_lines give that rate. Empty when nothing of it was taxed.
totalWhat it gives back in all, a google.type.Money: the lines' amount and shipping_amount, and their tax too when the order's prices did not hold it. The order's current_total goes down by it.
payout_amountWhat of total is owed to the customer in money, a google.type.Money: what they paid beyond what the order costs after it, less what the order's other refunds still owe them — never more than total. Zero on an order nothing of which was paid: the refund only lowers what it costs.
payoutHow the money it owes (payout_amount) goes back to the customer, as the Create asked: DEFERRED — later, the default: the refund is PENDING until :mark_paid records it or :pay sends it; RECORDED — it went back already, past the platform: the order's transactions take a REFUND of it that SUCCEEDED, and the refund is SUCCEEDED at once; PROVIDER — through the payment provider now: a REFUND of each payment it is laid over, the newest first, sent to its provider at once, and the refund SUCCEEDED once they all succeed. PROVIDER takes no more than the order's provider_refundable_total (FAILED_PRECONDITION REFUND_PROVIDER_AMOUNT otherwise). Set on Create alone; ORDER_REFUND_PAYOUT_UNSPECIFIED is read as DEFERRED.
restockWhether the units it takes off the order go back to the stock of their variants, in the same write as the refund: true unless you send false — for goods damaged or lost. A variant whose stock is not tracked takes nothing back. Always false with return_id: the return's :receive puts its units back.
return_idThe return of goods whose units it gives money back for — websites/{website}/orders/{order}/returns/{return_id}, open or closed. Its lines then take units sent, of that return and not given money back yet, rather than units not sent; nothing is taken off the order nor back to the stock, and the return counts them in its refunded_quantity. Set on Create alone.
reasonWhy the money is given back, when the shop says: up to 500 characters, on one line or several.
pay_timeWhen its money went back to the customer — as the Create with "payout": "RECORDED" or :mark_paid recorded it, or when the payment provider gave the last of it back. Absent while PENDING, and when nothing was owed.
actorWho recorded the refund: {type, id?} — type USER and id the user of the account who created it.
RefundCreate
linesWhat it gives back, line by line: [{line_id, quantity, amount, tax_amount?}]. line_id is the id of a line of the order, each line once. quantity is the units it takes off the order — units not sent, at most quantity − cancelled_quantity − fulfilled_quantity of the line; with return_id, units of the line in that return not given money back yet — or 0 for money off the line's price without units. amount is the part of the line's line_total it gives back, at most what is left of it past the line's refunded_amount; left out on Create, the units' share — line_total over quantity a unit, rounded half up to the currency's minor unit, the line's last unit taking what is left — and required when quantity is 0. tax_amount is the same share of the line's tax_amount, worked out by the server; absent on a line that was not taxed. Required on Create, but for a refund of the shipping alone (shipping_amount), which may leave it out or send it empty. Set on Create alone.
shipping_amountWhat it gives back of the order's shipping_total, a google.type.Money in the order's currency above zero — at most what is left of it past the order's shipping.refunded_amount, which goes up by it. Absent when it gives no shipping back; with it, lines may be left out. A refund that takes off the last units of an order nothing of which was sent, and the refund of :cancel, give back all that is left of the shipping, whatever was asked; a refund of a return's units gives back only what you send here. Set on Create alone.
payoutHow the money it owes (payout_amount) goes back to the customer, as the Create asked: DEFERRED — later, the default: the refund is PENDING until :mark_paid records it or :pay sends it; RECORDED — it went back already, past the platform: the order's transactions take a REFUND of it that SUCCEEDED, and the refund is SUCCEEDED at once; PROVIDER — through the payment provider now: a REFUND of each payment it is laid over, the newest first, sent to its provider at once, and the refund SUCCEEDED once they all succeed. PROVIDER takes no more than the order's provider_refundable_total (FAILED_PRECONDITION REFUND_PROVIDER_AMOUNT otherwise). Set on Create alone; ORDER_REFUND_PAYOUT_UNSPECIFIED is read as DEFERRED.
restockWhether the units it takes off the order go back to the stock of their variants, in the same write as the refund: true unless you send false — for goods damaged or lost. A variant whose stock is not tracked takes nothing back. Always false with return_id: the return's :receive puts its units back.
return_idThe return of goods whose units it gives money back for — websites/{website}/orders/{order}/returns/{return_id}, open or closed. Its lines then take units sent, of that return and not given money back yet, rather than units not sent; nothing is taken off the order nor back to the stock, and the return counts them in its refunded_quantity. Set on Create alone.
reasonWhy the money is given back, when the shop says: up to 500 characters, on one line or several.
notify_customerWhether the customer is sent the order_refunded email of the refund — what it gives back line by line, its shipping, its tax and total, and the reason — in the language of the view the order was placed on. True unless you send false; a refund that gives no money back (total zero) sends none. Read on Create alone.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the order already has a refund of answers that refund and gives nothing back again.
RefundUpdate
linesWhat it gives back, line by line: [{line_id, quantity, amount, tax_amount?}]. line_id is the id of a line of the order, each line once. quantity is the units it takes off the order — units not sent, at most quantity − cancelled_quantity − fulfilled_quantity of the line; with return_id, units of the line in that return not given money back yet — or 0 for money off the line's price without units. amount is the part of the line's line_total it gives back, at most what is left of it past the line's refunded_amount; left out on Create, the units' share — line_total over quantity a unit, rounded half up to the currency's minor unit, the line's last unit taking what is left — and required when quantity is 0. tax_amount is the same share of the line's tax_amount, worked out by the server; absent on a line that was not taxed. Required on Create, but for a refund of the shipping alone (shipping_amount), which may leave it out or send it empty. Set on Create alone.
shipping_amountWhat it gives back of the order's shipping_total, a google.type.Money in the order's currency above zero — at most what is left of it past the order's shipping.refunded_amount, which goes up by it. Absent when it gives no shipping back; with it, lines may be left out. A refund that takes off the last units of an order nothing of which was sent, and the refund of :cancel, give back all that is left of the shipping, whatever was asked; a refund of a return's units gives back only what you send here. Set on Create alone.
payoutHow the money it owes (payout_amount) goes back to the customer, as the Create asked: DEFERRED — later, the default: the refund is PENDING until :mark_paid records it or :pay sends it; RECORDED — it went back already, past the platform: the order's transactions take a REFUND of it that SUCCEEDED, and the refund is SUCCEEDED at once; PROVIDER — through the payment provider now: a REFUND of each payment it is laid over, the newest first, sent to its provider at once, and the refund SUCCEEDED once they all succeed. PROVIDER takes no more than the order's provider_refundable_total (FAILED_PRECONDITION REFUND_PROVIDER_AMOUNT otherwise). Set on Create alone; ORDER_REFUND_PAYOUT_UNSPECIFIED is read as DEFERRED.
restockWhether the units it takes off the order go back to the stock of their variants, in the same write as the refund: true unless you send false — for goods damaged or lost. A variant whose stock is not tracked takes nothing back. Always false with return_id: the return's :receive puts its units back.
return_idThe return of goods whose units it gives money back for — websites/{website}/orders/{order}/returns/{return_id}, open or closed. Its lines then take units sent, of that return and not given money back yet, rather than units not sent; nothing is taken off the order nor back to the stock, and the return counts them in its refunded_quantity. Set on Create alone.
reasonWhy the money is given back, when the shop says: up to 500 characters, on one line or several.
notify_customerWhether the customer is sent the order_refunded email of the refund — what it gives back line by line, its shipping, its tax and total, and the reason — in the language of the view the order was placed on. True unless you send false; a refund that gives no money back (total zero) sends none. Read on Create alone.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the order already has a refund of answers that refund and gives nothing back again.
Return
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
statusWhere the return is: REQUESTED — the customer asked for it and the shop has not answered; OPEN — recorded by the shop, or the customer's approved: its goods come back and are received; CLOSED — done, by :close or once every unit of it is received and given money back; DECLINED — the shop said no; CANCELLED — taken back before anything of it was received. CLOSED, DECLINED and CANCELLED move no more.
linesWhat comes back, line by line: [{line_id, quantity, received_quantity, restocked_quantity, refunded_quantity}]. line_id is the id of a line of the order, each line once; quantity the units that come back — units sent, at most the line's fulfilled_quantity less the units its other returns hold. On Create {line_id, quantity} alone; the server counts the rest: received_quantity the units :receive took in, restocked_quantity those of them put back on the stock, refunded_quantity the units refunds naming the return gave money back for — each 0 at first and at most quantity. Set on Create alone.
reasonWhy the goods come back, when the shop or the customer says: up to 500 characters, on one line or several.
decline_reasonWhy the shop declined the customer's request, when :decline was given a reason; absent otherwise.
close_timeWhen the return was closed — by :close, or once every unit of it was received and given money back; absent on one not CLOSED.
actorWho recorded the return: {type, id?} — type USER and id the user of the account who created it; CUSTOMER for a request of the customer's.
ReturnCreate
linesWhat comes back, line by line: [{line_id, quantity, received_quantity, restocked_quantity, refunded_quantity}]. line_id is the id of a line of the order, each line once; quantity the units that come back — units sent, at most the line's fulfilled_quantity less the units its other returns hold. On Create {line_id, quantity} alone; the server counts the rest: received_quantity the units :receive took in, restocked_quantity those of them put back on the stock, refunded_quantity the units refunds naming the return gave money back for — each 0 at first and at most quantity. Set on Create alone.
reasonWhy the goods come back, when the shop or the customer says: up to 500 characters, on one line or several.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the order already has a return of answers that return and records nothing again.
ReturnUpdate
linesWhat comes back, line by line: [{line_id, quantity, received_quantity, restocked_quantity, refunded_quantity}]. line_id is the id of a line of the order, each line once; quantity the units that come back — units sent, at most the line's fulfilled_quantity less the units its other returns hold. On Create {line_id, quantity} alone; the server counts the rest: received_quantity the units :receive took in, restocked_quantity those of them put back on the stock, refunded_quantity the units refunds naming the return gave money back for — each 0 at first and at most quantity. Set on Create alone.
reasonWhy the goods come back, when the shop or the customer says: up to 500 characters, on one line or several.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the order already has a return of answers that return and records nothing again.
CmsBlock
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
titleThe block's label in the admin. Never rendered on the site — the block is its content.
identifierThe handle a page, a theme or a smart link pulls this block in by. Unique per website, and the one field worth keeping stable.
is_activeWhether the block renders. An inactive block is left out wherever it is referenced.
contentThe fragment itself, as rich-text HTML.
CmsBlockCreate
titleThe block's label in the admin. Never rendered on the site — the block is its content.
identifierThe handle a page, a theme or a smart link pulls this block in by. Unique per website, and the one field worth keeping stable.
is_activeWhether the block renders. An inactive block is left out wherever it is referenced.
contentThe fragment itself, as rich-text HTML.
CmsBlockUpdate
titleThe block's label in the admin. Never rendered on the site — the block is its content.
identifierThe handle a page, a theme or a smart link pulls this block in by. Unique per website, and the one field worth keeping stable.
is_activeWhether the block renders. An inactive block is left out wherever it is referenced.
contentThe fragment itself, as rich-text HTML.
CmsBlockView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
cms_block_idThe block this overlay belongs to. Fixed by the URL.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides — here, at most content. A field not listed falls back to the block.
contentThis view's rich-text body for the block.
CmsBlockViewCreate
overriddenThe names of the fields this view actually overrides — here, at most content. A field not listed falls back to the block.
contentThis view's rich-text body for the block.
CmsBlockViewUpdate
overriddenThe names of the fields this view actually overrides — here, at most content. A field not listed falls back to the block.
contentThis view's rich-text body for the block.
CmsPageGroupVersion
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
cms_page_idThe page this is a version of. Fixed by the URL.
customer_group_idThe customer group this version is for — a group of the same website, one version per group on a page. Required on create and fixed afterwards.
overriddenThe names of the page fields this version replaces, out of title, content, meta_title, meta_description, meta_keywords, background_media_id and background_position. A field not listed here is the page's own.
titleThe group's title for the page. Not blank while title is overridden.
contentThe group's rich-text body for the page.
meta_titleThe group's <title> for the page.
meta_descriptionThe group's meta description for the page.
meta_keywordsThe group's meta keywords for the page.
background_media_idThe group's hero image for the page.
background_positionThe group's anchor for the hero image.
CmsPageGroupVersionCreate
customer_group_idThe customer group this version is for — a group of the same website, one version per group on a page. Required on create and fixed afterwards.
overriddenThe names of the page fields this version replaces, out of title, content, meta_title, meta_description, meta_keywords, background_media_id and background_position. A field not listed here is the page's own.
titleThe group's title for the page. Not blank while title is overridden.
contentThe group's rich-text body for the page.
meta_titleThe group's <title> for the page.
meta_descriptionThe group's meta description for the page.
meta_keywordsThe group's meta keywords for the page.
background_media_idThe group's hero image for the page.
background_positionThe group's anchor for the hero image.
CmsPageGroupVersionUpdate
overriddenThe names of the page fields this version replaces, out of title, content, meta_title, meta_description, meta_keywords, background_media_id and background_position. A field not listed here is the page's own.
titleThe group's title for the page. Not blank while title is overridden.
contentThe group's rich-text body for the page.
meta_titleThe group's <title> for the page.
meta_descriptionThe group's meta description for the page.
meta_keywordsThe group's meta keywords for the page.
background_media_idThe group's hero image for the page.
background_positionThe group's anchor for the hero image.
CmsPage
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
titleThe page's heading, and the label the admin lists it under.
url_keyThe page's slug — the last segment of its URL on the live site. Unique among the website's pages; a view that serves the page under another slug sets it in the page's views overlay.
is_activeWhether the page is published. An inactive page stays in the admin and 404s on the site.
meta_titleThe <title> of the rendered page. Falls back to title when empty.
meta_descriptionThe <meta name="description"> of the rendered page, and what a search engine usually shows under the link.
meta_keywordsThe <meta name="keywords"> of the rendered page. Kept for sites that still fill it in.
contentThe page body as rich-text HTML. Links to other resources may be written as entity:// URLs, which the renderer resolves to the right URL for the view it is rendering.
background_media_idThe media resource used as the page's hero image. Empty means the theme decides.
background_positionWhere the hero image is anchored when it is cropped to the banner — a CSS background-position value such as center top.
visible_view_idsThe views this page appears in. Empty means every view, not none — a page is visible everywhere until it is restricted.
audienceWho the page is for. PUBLIC — everybody, the default. AUTHENTICATED — the website's signed-in customers. GROUPS — the customers in at least one of customer_group_ids. A page that is not PUBLIC is left out of the sitemap, the site search, the public API and every cached copy of the site, and is rendered only for a visitor it is for.
customer_group_idsThe customer_groups of the website a GROUPS page is shown to — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
CmsPageCreate
titleThe page's heading, and the label the admin lists it under.
url_keyThe page's slug — the last segment of its URL on the live site. Unique among the website's pages; a view that serves the page under another slug sets it in the page's views overlay.
is_activeWhether the page is published. An inactive page stays in the admin and 404s on the site.
meta_titleThe <title> of the rendered page. Falls back to title when empty.
meta_descriptionThe <meta name="description"> of the rendered page, and what a search engine usually shows under the link.
meta_keywordsThe <meta name="keywords"> of the rendered page. Kept for sites that still fill it in.
contentThe page body as rich-text HTML. Links to other resources may be written as entity:// URLs, which the renderer resolves to the right URL for the view it is rendering.
background_media_idThe media resource used as the page's hero image. Empty means the theme decides.
background_positionWhere the hero image is anchored when it is cropped to the banner — a CSS background-position value such as center top.
visible_view_idsThe views this page appears in. Empty means every view, not none — a page is visible everywhere until it is restricted.
audienceWho the page is for. PUBLIC — everybody, the default. AUTHENTICATED — the website's signed-in customers. GROUPS — the customers in at least one of customer_group_ids. A page that is not PUBLIC is left out of the sitemap, the site search, the public API and every cached copy of the site, and is rendered only for a visitor it is for.
customer_group_idsThe customer_groups of the website a GROUPS page is shown to — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
CmsPageUpdate
titleThe page's heading, and the label the admin lists it under.
url_keyThe page's slug — the last segment of its URL on the live site. Unique among the website's pages; a view that serves the page under another slug sets it in the page's views overlay.
is_activeWhether the page is published. An inactive page stays in the admin and 404s on the site.
meta_titleThe <title> of the rendered page. Falls back to title when empty.
meta_descriptionThe <meta name="description"> of the rendered page, and what a search engine usually shows under the link.
meta_keywordsThe <meta name="keywords"> of the rendered page. Kept for sites that still fill it in.
contentThe page body as rich-text HTML. Links to other resources may be written as entity:// URLs, which the renderer resolves to the right URL for the view it is rendering.
background_media_idThe media resource used as the page's hero image. Empty means the theme decides.
background_positionWhere the hero image is anchored when it is cropped to the banner — a CSS background-position value such as center top.
visible_view_idsThe views this page appears in. Empty means every view, not none — a page is visible everywhere until it is restricted.
audienceWho the page is for. PUBLIC — everybody, the default. AUTHENTICATED — the website's signed-in customers. GROUPS — the customers in at least one of customer_group_ids. A page that is not PUBLIC is left out of the sitemap, the site search, the public API and every cached copy of the site, and is rendered only for a visitor it is for.
customer_group_idsThe customer_groups of the website a GROUPS page is shown to — at least one, at most 100. Empty for any other audience: setting the audience to anything else empties it, and a deleted group drops out of it on its own.
CmsPageView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
cms_page_idThe page this overlay belongs to. Fixed by the URL — an overlay cannot change master.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty string in title with title absent from this list is "use the master", not "show nothing".
titleThis view's title for the page.
url_keyThis view's slug for the page, so a translated page can have a translated URL.
contentThis view's rich-text body for the page.
meta_titleThis view's <title> for the page.
meta_descriptionThis view's meta description for the page.
meta_keywordsThis view's meta keywords for the page.
background_media_idThis view's hero image for the page.
background_positionThis view's anchor for the hero image.
CmsPageViewCreate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty string in title with title absent from this list is "use the master", not "show nothing".
titleThis view's title for the page.
url_keyThis view's slug for the page, so a translated page can have a translated URL.
contentThis view's rich-text body for the page.
meta_titleThis view's <title> for the page.
meta_descriptionThis view's meta description for the page.
meta_keywordsThis view's meta keywords for the page.
background_media_idThis view's hero image for the page.
background_positionThis view's anchor for the hero image.
CmsPageViewUpdate
overriddenThe names of the fields this view actually overrides. A field counts as overridden only while it is listed here — an empty string in title with title absent from this list is "use the master", not "show nothing".
titleThis view's title for the page.
url_keyThis view's slug for the page, so a translated page can have a translated URL.
contentThis view's rich-text body for the page.
meta_titleThis view's <title> for the page.
meta_descriptionThis view's meta description for the page.
meta_keywordsThis view's meta keywords for the page.
background_media_idThis view's hero image for the page.
background_positionThis view's anchor for the hero image.
CustomerAddress
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
recipient_nameThe person the address is for, as a parcel is labelled. At most 200 characters.
organizationThe company at the address, when there is one. At most 200 characters.
country_codeThe country, as its ISO 3166-1 alpha-2 code. Accepted in any case and kept uppercase. Required. Its address format (address_formats/{country_code}) says which of the other parts the address must have.
regionThe state, province or region: where the country's address format lists its regions, the code of one of them, exactly; elsewhere its name. At most 200 characters. Required where the format requires it.
sublocalityThe district or neighbourhood within the city, where the country writes one — a Brazilian «bairro». At most 200 characters. Required where the country's address format requires it.
cityThe city or town. At most 200 characters. Required where the country's address format requires it; absent where the address has none.
postal_codeThe postal code, as the country writes it — its format's pattern is a hint for a form, never checked. At most 20 characters. Required where the country's address format requires it; absent where the address has none.
address_line1The street and house number — the street alone when street_number holds the number. At most 200 characters. Required.
street_numberThe house number, where the country writes it apart from the street — address_line1 is then the street's name alone. At most 20 characters. Required where the country's address format requires it (BR).
address_line2Anything the street line does not hold — a flat, a floor, a building. At most 200 characters.
phoneA number the courier can reach the recipient on: digits, with + ( ) - . and spaces between them, at most 32 characters.
labelThe customer's own name for the address — «Home», «Office». At most 100 characters, on one line.
is_default_shippingWhether this is the address the customer's orders go to unless they choose another. true makes it the default and takes the mark off the address that had it; false on the default leaves the book without one. The first address of an empty book becomes the default on its own.
is_default_billingWhether this is the address the customer's orders are billed to unless they choose another. true makes it the default and takes the mark off the address that had it; false on the default leaves the book without one. Never set unless asked for.
CustomerAddressCreate
country_codeThe country, as its ISO 3166-1 alpha-2 code. Accepted in any case and kept uppercase. Required. Its address format (address_formats/{country_code}) says which of the other parts the address must have.
address_line1The street and house number — the street alone when street_number holds the number. At most 200 characters. Required.
recipient_nameThe person the address is for, as a parcel is labelled. At most 200 characters.
organizationThe company at the address, when there is one. At most 200 characters.
regionThe state, province or region: where the country's address format lists its regions, the code of one of them, exactly; elsewhere its name. At most 200 characters. Required where the format requires it.
sublocalityThe district or neighbourhood within the city, where the country writes one — a Brazilian «bairro». At most 200 characters. Required where the country's address format requires it.
cityThe city or town. At most 200 characters. Required where the country's address format requires it; absent where the address has none.
postal_codeThe postal code, as the country writes it — its format's pattern is a hint for a form, never checked. At most 20 characters. Required where the country's address format requires it; absent where the address has none.
street_numberThe house number, where the country writes it apart from the street — address_line1 is then the street's name alone. At most 20 characters. Required where the country's address format requires it (BR).
address_line2Anything the street line does not hold — a flat, a floor, a building. At most 200 characters.
phoneA number the courier can reach the recipient on: digits, with + ( ) - . and spaces between them, at most 32 characters.
labelThe customer's own name for the address — «Home», «Office». At most 100 characters, on one line.
is_default_shippingWhether this is the address the customer's orders go to unless they choose another. true makes it the default and takes the mark off the address that had it; false on the default leaves the book without one. The first address of an empty book becomes the default on its own.
is_default_billingWhether this is the address the customer's orders are billed to unless they choose another. true makes it the default and takes the mark off the address that had it; false on the default leaves the book without one. Never set unless asked for.
CustomerAddressUpdate
recipient_nameThe person the address is for, as a parcel is labelled. At most 200 characters.
organizationThe company at the address, when there is one. At most 200 characters.
country_codeThe country, as its ISO 3166-1 alpha-2 code. Accepted in any case and kept uppercase. Required. Its address format (address_formats/{country_code}) says which of the other parts the address must have.
regionThe state, province or region: where the country's address format lists its regions, the code of one of them, exactly; elsewhere its name. At most 200 characters. Required where the format requires it.
sublocalityThe district or neighbourhood within the city, where the country writes one — a Brazilian «bairro». At most 200 characters. Required where the country's address format requires it.
cityThe city or town. At most 200 characters. Required where the country's address format requires it; absent where the address has none.
postal_codeThe postal code, as the country writes it — its format's pattern is a hint for a form, never checked. At most 20 characters. Required where the country's address format requires it; absent where the address has none.
address_line1The street and house number — the street alone when street_number holds the number. At most 200 characters. Required.
street_numberThe house number, where the country writes it apart from the street — address_line1 is then the street's name alone. At most 20 characters. Required where the country's address format requires it (BR).
address_line2Anything the street line does not hold — a flat, a floor, a building. At most 200 characters.
phoneA number the courier can reach the recipient on: digits, with + ( ) - . and spaces between them, at most 32 characters.
labelThe customer's own name for the address — «Home», «Office». At most 100 characters, on one line.
is_default_shippingWhether this is the address the customer's orders go to unless they choose another. true makes it the default and takes the mark off the address that had it; false on the default leaves the book without one. The first address of an empty book becomes the default on its own.
is_default_billingWhether this is the address the customer's orders are billed to unless they choose another. true makes it the default and takes the mark off the address that had it; false on the default leaves the book without one. Never set unless asked for.
CustomerAttributeGroup
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe section's heading, shown wherever labels has none for the locale. Not blank, at most 255 characters.
labelsThe heading in other languages: an object from a locale (de, pt-BR) to the heading in it, each at most 255 characters. Replaced whole when sent.
sort_orderWhere the section stands among the website's sections: they are shown in ascending sort_order. A new section comes last; :move is the only way to change it.
CustomerAttributeGroupCreate
display_nameThe section's heading, shown wherever labels has none for the locale. Not blank, at most 255 characters.
labelsThe heading in other languages: an object from a locale (de, pt-BR) to the heading in it, each at most 255 characters. Replaced whole when sent.
CustomerAttributeGroupUpdate
display_nameThe section's heading, shown wherever labels has none for the locale. Not blank, at most 255 characters.
labelsThe heading in other languages: an object from a locale (de, pt-BR) to the heading in it, each at most 255 characters. Replaced whole when sent.
CustomerAttribute
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
keyThe name a customer's value is stored under in their attributes, and the name a registration form sends it as: a lowercase letter, then up to 63 lowercase letters, digits and underscores. Unique on the website, and none of a customer's own field names (email, display_name, tags, ...). Required on create and fixed afterwards.
display_nameThe field's label, shown wherever labels has none for the locale. Not blank, at most 255 characters.
labelsThe label in other languages: an object from a locale (de, pt-BR) to the label in it, each at most 255 characters. A locale it leaves out shows display_name. Replaced whole when sent.
descriptionThe hint shown under the field on a form. At most 2000 characters.
typeWhat the field holds, and so which control a form draws: TEXT, TEXTAREA, NUMBER, BOOLEAN, DATE (a YYYY-MM-DD string), SELECT (one of options) or MULTISELECT (any of them). Required on create and fixed afterwards.
optionsThe choices of a SELECT or MULTISELECT field, in the order a form lists them: each {value, display_name, labels}, where value is what a customer's attributes stores and is unique within the field. At least one and at most 100 for those two types, none for the others. Replaced whole when sent.
is_requiredWhether a form refuses to save the customer without a value for it. false when omitted.
show_in_registrationWhether the website's registration form asks for it. false when omitted — the field is then filled in the admin only.
show_in_accountWhether the customer sees and edits it in their account on the website. false when omitted — the value is then the shop's alone.
is_activeWhether the field is in use. Switching it off takes it off every form and stops new values being accepted, while the values customers already hold stay readable — the way to retire a field without losing them. true when omitted.
min_lengthThe fewest characters a TEXT or TEXTAREA value may have. Not allowed on other types.
max_lengthThe most characters a TEXT or TEXTAREA value may have — at most 1024 for TEXT and 8192 for TEXTAREA, which is also the limit when it is omitted. Not allowed on other types.
min_valueThe smallest value a NUMBER field accepts. Not allowed on other types.
max_valueThe largest value a NUMBER field accepts. Not allowed on other types.
group_idThe customer_attribute_groups section the admin's customer form shows the field in — an id of a group of the website. Without one the field is in the default section; deleting its group puts it back there.
sort_orderWhere the field stands among the website's fields: lists and forms show them in ascending sort_order. A new field comes last; :move is the only way to change it.
CustomerAttributeCreate
display_nameThe field's label, shown wherever labels has none for the locale. Not blank, at most 255 characters.
keyThe name a customer's value is stored under in their attributes, and the name a registration form sends it as: a lowercase letter, then up to 63 lowercase letters, digits and underscores. Unique on the website, and none of a customer's own field names (email, display_name, tags, ...). Required on create and fixed afterwards.
labelsThe label in other languages: an object from a locale (de, pt-BR) to the label in it, each at most 255 characters. A locale it leaves out shows display_name. Replaced whole when sent.
descriptionThe hint shown under the field on a form. At most 2000 characters.
typeWhat the field holds, and so which control a form draws: TEXT, TEXTAREA, NUMBER, BOOLEAN, DATE (a YYYY-MM-DD string), SELECT (one of options) or MULTISELECT (any of them). Required on create and fixed afterwards.
optionsThe choices of a SELECT or MULTISELECT field, in the order a form lists them: each {value, display_name, labels}, where value is what a customer's attributes stores and is unique within the field. At least one and at most 100 for those two types, none for the others. Replaced whole when sent.
is_requiredWhether a form refuses to save the customer without a value for it. false when omitted.
show_in_registrationWhether the website's registration form asks for it. false when omitted — the field is then filled in the admin only.
show_in_accountWhether the customer sees and edits it in their account on the website. false when omitted — the value is then the shop's alone.
is_activeWhether the field is in use. Switching it off takes it off every form and stops new values being accepted, while the values customers already hold stay readable — the way to retire a field without losing them. true when omitted.
min_lengthThe fewest characters a TEXT or TEXTAREA value may have. Not allowed on other types.
max_lengthThe most characters a TEXT or TEXTAREA value may have — at most 1024 for TEXT and 8192 for TEXTAREA, which is also the limit when it is omitted. Not allowed on other types.
min_valueThe smallest value a NUMBER field accepts. Not allowed on other types.
max_valueThe largest value a NUMBER field accepts. Not allowed on other types.
group_idThe customer_attribute_groups section the admin's customer form shows the field in — an id of a group of the website. Without one the field is in the default section; deleting its group puts it back there.
CustomerAttributeUpdate
display_nameThe field's label, shown wherever labels has none for the locale. Not blank, at most 255 characters.
labelsThe label in other languages: an object from a locale (de, pt-BR) to the label in it, each at most 255 characters. A locale it leaves out shows display_name. Replaced whole when sent.
descriptionThe hint shown under the field on a form. At most 2000 characters.
optionsThe choices of a SELECT or MULTISELECT field, in the order a form lists them: each {value, display_name, labels}, where value is what a customer's attributes stores and is unique within the field. At least one and at most 100 for those two types, none for the others. Replaced whole when sent.
is_requiredWhether a form refuses to save the customer without a value for it. false when omitted.
show_in_registrationWhether the website's registration form asks for it. false when omitted — the field is then filled in the admin only.
show_in_accountWhether the customer sees and edits it in their account on the website. false when omitted — the value is then the shop's alone.
is_activeWhether the field is in use. Switching it off takes it off every form and stops new values being accepted, while the values customers already hold stay readable — the way to retire a field without losing them. true when omitted.
min_lengthThe fewest characters a TEXT or TEXTAREA value may have. Not allowed on other types.
max_lengthThe most characters a TEXT or TEXTAREA value may have — at most 1024 for TEXT and 8192 for TEXTAREA, which is also the limit when it is omitted. Not allowed on other types.
min_valueThe smallest value a NUMBER field accepts. Not allowed on other types.
max_valueThe largest value a NUMBER field accepts. Not allowed on other types.
group_idThe customer_attribute_groups section the admin's customer form shows the field in — an id of a group of the website. Without one the field is in the default section; deleting its group puts it back there.
CustomerGroup
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe group's name, unique on the website — how the tenant tells groups apart wherever one is picked. Not blank, at most 255 characters.
descriptionWhat the group is for, for the people who manage it. At most 2000 characters.
typeHow the group gets its members: MANUAL — the customers put in it by hand, DYNAMIC — the customers its rule matches. MANUAL when omitted; fixed at creation.
ruleWho is in a DYNAMIC group: a filter over a customer's email, tags and create_time, written like the filter of the customers List — the group holds exactly the customers that List returns for it, and group_ids follows a new rule shortly after it is saved. A rule that does not parse or names another field is refused. Without a rule the group has no members. A MANUAL group has none. At most 2000 characters.
priorityWhich group wins when a customer is in several that each have their own version of a page: the higher number. 0 when omitted.
CustomerGroupCreate
display_nameThe group's name, unique on the website — how the tenant tells groups apart wherever one is picked. Not blank, at most 255 characters.
descriptionWhat the group is for, for the people who manage it. At most 2000 characters.
typeHow the group gets its members: MANUAL — the customers put in it by hand, DYNAMIC — the customers its rule matches. MANUAL when omitted; fixed at creation.
ruleWho is in a DYNAMIC group: a filter over a customer's email, tags and create_time, written like the filter of the customers List — the group holds exactly the customers that List returns for it, and group_ids follows a new rule shortly after it is saved. A rule that does not parse or names another field is refused. Without a rule the group has no members. A MANUAL group has none. At most 2000 characters.
priorityWhich group wins when a customer is in several that each have their own version of a page: the higher number. 0 when omitted.
CustomerGroupUpdate
display_nameThe group's name, unique on the website — how the tenant tells groups apart wherever one is picked. Not blank, at most 255 characters.
descriptionWhat the group is for, for the people who manage it. At most 2000 characters.
ruleWho is in a DYNAMIC group: a filter over a customer's email, tags and create_time, written like the filter of the customers List — the group holds exactly the customers that List returns for it, and group_ids follows a new rule shortly after it is saved. A rule that does not parse or names another field is refused. Without a rule the group has no members. A MANUAL group has none. At most 2000 characters.
priorityWhich group wins when a customer is in several that each have their own version of a page: the higher number. 0 when omitted.
CustomerSignInProvider
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe provider's name, as the shop and its customers read it: Google, Apple, Facebook.
methodThe way to sign in the provider brings, as the website's customers and their connected accounts name it: GOOGLE, APPLE or FACEBOOK.
credential_fieldsWhat :connect asks for, in order: [{key, display_name, secret, multiline}] — key a member of the body's credentials, each one required; display_name its label, as the provider's console names it; secret whether its value is never answered back (only its last four characters, in credential_hints); multiline whether it takes several lines, as Apple's private key does. A form is built of it.
stateWhere the website's app at the provider stands: NOT_CONNECTED — none; CONNECTED — the provider took its keys at the last check; INVALID — it refused them since, or the platform can no longer read them: connect the app again. Customers sign in through a CONNECTED app alone.
credentialsThe keys of the connected app that are no secret, by their key — the client ID, the Services ID, Team ID and Key ID, the App ID — to tell which app is connected. Absent while NOT_CONNECTED.
credential_hintsThe last four characters of each secret key of the app, by its key — of a private key, of its body without the PEM's armour lines — enough to tell which one is connected, never the key. Absent while NOT_CONNECTED, and for a value shorter than 12 characters.
redirect_urisThe website's callback addresses at this provider, one per host of the website: https://{host}/api/auth/provider/{provider}/callback, the platform's host first, then the website's own domain — verified or not yet. The provider sends a customer back only to an address the app registered, so register every one of them in the app, and the new one when the website gets another domain.
connect_timeWhen the app was last connected (:connect). Absent while NOT_CONNECTED.
verify_timeWhen the provider was last asked about the keys — by :connect or :verify. Absent while NOT_CONNECTED.
CustomerSignInProviderUpdate
Customer
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
emailThe address the customer signs in to the website with. Unique on the website, compared and stored lowercase with surrounding spaces dropped. Required on create; the shop cannot change it afterwards — the customer changes it in their account on the website.
display_nameThe name the customer is greeted by on the website and listed under in the admin. At most 255 characters.
tagsFree-form labels to segment customers by, each 1 to 64 characters; a repeated one is kept once. filter=tags:"vip" lists the customers carrying a tag.
manual_group_idsThe groups this customer was put in by hand — ids of customer_groups of the website whose type is MANUAL. A deleted group drops out of it on its own.
group_idsEvery group the customer is in: the ones in manual_group_ids and the DYNAMIC ones whose rule they match, derived again whenever the customer is written and whenever such a rule changes. This is the membership the website decides by, and it is maintained by the server.
is_activeWhether the customer may sign in. A new customer is active; switching it off keeps the account but stops its sessions from being renewed.
attributesThe customer's values of the fields the website defines in customer_attributes: an object from a field's key to its value — a string for TEXT, TEXTAREA, SELECT and DATE (YYYY-MM-DD), a number for NUMBER, true or false for BOOLEAN, an array of option values for MULTISELECT. Replaced whole when sent: a field it leaves out, or sends as null, an empty string or an empty array, has no value, and a field with is_required must have one — on create too, where an absent object counts as an empty one. A key the website has no field for, or a value its field does not accept, is refused on attributes.<key>. The value of a field switched off with is_active is kept as it is: sent back unchanged it is accepted, changed it is refused. Deleting a field removes its value from every customer. Omitted when empty.
CustomerCreate
emailThe address the customer signs in to the website with. Unique on the website, compared and stored lowercase with surrounding spaces dropped. Required on create; the shop cannot change it afterwards — the customer changes it in their account on the website.
display_nameThe name the customer is greeted by on the website and listed under in the admin. At most 255 characters.
tagsFree-form labels to segment customers by, each 1 to 64 characters; a repeated one is kept once. filter=tags:"vip" lists the customers carrying a tag.
manual_group_idsThe groups this customer was put in by hand — ids of customer_groups of the website whose type is MANUAL. A deleted group drops out of it on its own.
is_activeWhether the customer may sign in. A new customer is active; switching it off keeps the account but stops its sessions from being renewed.
attributesThe customer's values of the fields the website defines in customer_attributes: an object from a field's key to its value — a string for TEXT, TEXTAREA, SELECT and DATE (YYYY-MM-DD), a number for NUMBER, true or false for BOOLEAN, an array of option values for MULTISELECT. Replaced whole when sent: a field it leaves out, or sends as null, an empty string or an empty array, has no value, and a field with is_required must have one — on create too, where an absent object counts as an empty one. A key the website has no field for, or a value its field does not accept, is refused on attributes.<key>. The value of a field switched off with is_active is kept as it is: sent back unchanged it is accepted, changed it is refused. Deleting a field removes its value from every customer. Omitted when empty.
passwordThe customer's password: at least 8 characters with a letter and a digit. Optional on create: a customer created without one cannot sign in with a password until they choose one through a password reset link, and signs in with a code sent to their email where the website offers it. On update it sets a new one and signs the customer out of every session. Write-only — never returned.
CustomerUpdate
display_nameThe name the customer is greeted by on the website and listed under in the admin. At most 255 characters.
tagsFree-form labels to segment customers by, each 1 to 64 characters; a repeated one is kept once. filter=tags:"vip" lists the customers carrying a tag.
manual_group_idsThe groups this customer was put in by hand — ids of customer_groups of the website whose type is MANUAL. A deleted group drops out of it on its own.
is_activeWhether the customer may sign in. A new customer is active; switching it off keeps the account but stops its sessions from being renewed.
attributesThe customer's values of the fields the website defines in customer_attributes: an object from a field's key to its value — a string for TEXT, TEXTAREA, SELECT and DATE (YYYY-MM-DD), a number for NUMBER, true or false for BOOLEAN, an array of option values for MULTISELECT. Replaced whole when sent: a field it leaves out, or sends as null, an empty string or an empty array, has no value, and a field with is_required must have one — on create too, where an absent object counts as an empty one. A key the website has no field for, or a value its field does not accept, is refused on attributes.<key>. The value of a field switched off with is_active is kept as it is: sent back unchanged it is accepted, changed it is refused. Deleting a field removes its value from every customer. Omitted when empty.
passwordThe customer's password: at least 8 characters with a letter and a digit. Optional on create: a customer created without one cannot sign in with a password until they choose one through a password reset link, and signs in with a code sent to their email where the website offers it. On update it sets a new one and signs the customer out of every session. Write-only — never returned.
Dashboard
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
widgetsThe tiles on this dashboard, as a list of {widget_id, type, x, y, width, height, settings}. widget_id is yours to choose and must be unique here; type is a dashboard_widget_types id whose module, if it names one, is on for this website; the geometry is in a 12-column grid whose rows go on for as long as you need. Sent whole: an Update replaces the layout rather than merging tile by tile. Read back, a saved layout follows the website's modules: a tile of a module that is off is left out and the rest close up, and a module's tile the layout has never shown is added at the bottom.
is_defaultTrue while nobody has ever saved a dashboard for this website and what you are reading is the platform's default layout — the tiles of the website's modules that are on, packed into full rows. It comes with no etag and no timestamps, because there is nothing to be a version of yet — so the first Update sends no If-Match and every later one does.
DashboardCreate
widgetsThe tiles on this dashboard, as a list of {widget_id, type, x, y, width, height, settings}. widget_id is yours to choose and must be unique here; type is a dashboard_widget_types id whose module, if it names one, is on for this website; the geometry is in a 12-column grid whose rows go on for as long as you need. Sent whole: an Update replaces the layout rather than merging tile by tile. Read back, a saved layout follows the website's modules: a tile of a module that is off is left out and the rest close up, and a module's tile the layout has never shown is added at the bottom.
DashboardUpdate
widgetsThe tiles on this dashboard, as a list of {widget_id, type, x, y, width, height, settings}. widget_id is yours to choose and must be unique here; type is a dashboard_widget_types id whose module, if it names one, is on for this website; the geometry is in a 12-column grid whose rows go on for as long as you need. Sent whole: an Update replaces the layout rather than merging tile by tile. Read back, a saved layout follows the website's modules: a tile of a module that is off is left out and the rest close up, and a module's tile the layout has never shown is added at the bottom.
DashboardWidgetType
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe tile's name as a person reads it, for the «add widget» drawer and the tile's own header.
descriptionWhat the tile shows and — where it matters — what its number leaves out, in a sentence or two the drawer and the tile can show as help text.
categoryWhich section of the «add widget» drawer this tile belongs to: COMMERCE (the shop's orders and customers), ANALYTICS (what the site's visitors do) or CONTENT (what it publishes).
visualizationHow the tile is drawn: KPI (one number with its trend), LINE_CHART, BAR_CHART, or CUSTOM — which means the admin has a renderer of its own for this id.
metric_idFor an analytics tile, the analytics_metrics id it draws — the row whose :query answers its number. Absent on every other tile, the order and customer counters included: they count a collection, not a metric.
moduleThe website module this tile belongs to — the id of a websites/{website}/modules row. A site with that module switched off has no use for the tile. Absent on a tile of the platform itself, which every site has.
default_size{width, height} in grid cells — the size the tile is added at when somebody picks it out of the drawer.
min_sizeThe smallest {width, height} this tile still reads at. A saved layout below it is INVALID_ARGUMENT, and a resize handle stops here.
max_sizeThe largest {width, height} this tile is worth. It is a range together with min_size, not a list of allowed sizes — a tile that has exactly one size says so by making the two equal.
singleton_per_dashboardTrue for a tile that makes sense at most once on a page — a list of the latest orders, of what the blog is about to publish. A second one is refused on Update rather than drawn twice.
setting_descriptorsWhat this tile can be configured with: {key, display_name, type, default, allowed_values} per setting. It is what the widget's settings drawer is built from and what a saved widget.settings is validated against — a key that is not here, or a value outside allowed_values, is refused.
DashboardWidgetTypeUpdate
EditorialAiPolicy
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
writer_agent_idThe ai_agents entry of this website's account that writes the article — a copy of the platform's mooverapp-article-writer. Without it the AI_GENERATED mode is not ready. Its output contract is checked on every write and again when a run starts.
reviewer_agent_idThe ai_agents entry that scores the finished article — a copy of mooverapp-article-reviewer. Without a reviewer no run reaches PASSED, and auto_publish cannot be switched on.
translator_agent_idThe ai_agents entry that translates the article into the website's other languages — a copy of mooverapp-article-translator. Absent, no translation is made and require_translations is not checked.
topic_agent_idThe ai_agents entry that proposes topics for the backlog — a copy of mooverapp-topic-strategist. Needed for a TOPICS run and for the automatic refill topic_backlog_min switches on.
image_prompt_agent_idThe ai_agents entry that turns the article into a brief for the image model — a copy of the platform's mooverapp-image-prompt-generator. Set together with image_agent_id, or neither.
image_agent_idThe ai_agents entry that draws the cover — a copy of mooverapp-featured-image, an IMAGE agent on an image model. Set together with image_prompt_agent_id, or neither.
site_briefWhat the website is about, in a paragraph the writer and the topic strategist read before every article. At most 4,000 characters.
voiceThe tone the articles are written in — calm and practical, playful, formal. At most 4,000 characters.
audienceWho the articles are for, so the writer pitches vocabulary and depth accordingly. At most 4,000 characters.
article_word_countHow long an article should be, in words of its body. Between 300 and 3000; defaults to 1000. An article far outside the target is flagged by the checks.
banned_phrasesPhrases an article must not contain — a case-insensitive occurrence of any of them is a BLOCKER in the verdict. At most 100, none blank, each at most 200 characters.
review_min_scoreThe reviewer's score, from 0 to 100, an article needs to pass. Defaults to 80. Below it the verdict is NEEDS_REVIEW and a person decides.
max_generations_per_dayHow many runs the desk may start by itself per UTC day, between 1 and 1000; defaults to 20. Runs a person starts do not count. A fuse against a loop, not a budget — the AI balance is the account's.
auto_publishWhether an article whose verdict is PASSED, and which nobody has edited, goes live on its slot's date with no person involved. Off by default; requires a reviewer. Read at the date, so switching it off takes effect at once.
translate_view_idsWhich of this website's views take a translation. Empty — every active view whose locale differs from the site's language. A view in the site's language, or switched off, is never a target. Two views on one locale get one translation and two overlays.
require_translationsWhether PASSED waits for every translation. On by default: a translation that failed or came back in another shape makes the verdict NEEDS_REVIEW. Off, it is listed as a MINOR issue and the article may still go out. Not checked without a translator.
topic_backlog_minThe backlog floor that starts a TOPICS run by itself: when CANDIDATE plus PROPOSED topics fall below it, the desk asks the strategist for a batch — at most once a day, and counted against max_generations_per_day. Between 0 and 100; 0 (the default) switches the refill off. Needs topic_agent_id.
topic_batch_sizeHow many topics one TOPICS run asks for, between 1 and 30; defaults to 10. A run's own topic_count overrides it.
topic_approvalWhat a proposed topic becomes: REQUIRED (the default) — PROPOSED, waiting for :accept before the planner may schedule it; AUTO — CANDIDATE at once, in the backlog like a topic a person wrote.
image_styleThe site's visual style, appended to every image brief — a photographic style, a palette, a mood. At most 2,000 characters.
require_imageWhether PASSED waits for the cover. Off by default: an article whose cover failed is listed with a MINOR issue and may still go out. On, it is NEEDS_REVIEW. Needs the two image agents.
EditorialAiPolicyCreate
writer_agent_idThe ai_agents entry of this website's account that writes the article — a copy of the platform's mooverapp-article-writer. Without it the AI_GENERATED mode is not ready. Its output contract is checked on every write and again when a run starts.
reviewer_agent_idThe ai_agents entry that scores the finished article — a copy of mooverapp-article-reviewer. Without a reviewer no run reaches PASSED, and auto_publish cannot be switched on.
translator_agent_idThe ai_agents entry that translates the article into the website's other languages — a copy of mooverapp-article-translator. Absent, no translation is made and require_translations is not checked.
topic_agent_idThe ai_agents entry that proposes topics for the backlog — a copy of mooverapp-topic-strategist. Needed for a TOPICS run and for the automatic refill topic_backlog_min switches on.
image_prompt_agent_idThe ai_agents entry that turns the article into a brief for the image model — a copy of the platform's mooverapp-image-prompt-generator. Set together with image_agent_id, or neither.
image_agent_idThe ai_agents entry that draws the cover — a copy of mooverapp-featured-image, an IMAGE agent on an image model. Set together with image_prompt_agent_id, or neither.
site_briefWhat the website is about, in a paragraph the writer and the topic strategist read before every article. At most 4,000 characters.
voiceThe tone the articles are written in — calm and practical, playful, formal. At most 4,000 characters.
audienceWho the articles are for, so the writer pitches vocabulary and depth accordingly. At most 4,000 characters.
article_word_countHow long an article should be, in words of its body. Between 300 and 3000; defaults to 1000. An article far outside the target is flagged by the checks.
banned_phrasesPhrases an article must not contain — a case-insensitive occurrence of any of them is a BLOCKER in the verdict. At most 100, none blank, each at most 200 characters.
review_min_scoreThe reviewer's score, from 0 to 100, an article needs to pass. Defaults to 80. Below it the verdict is NEEDS_REVIEW and a person decides.
max_generations_per_dayHow many runs the desk may start by itself per UTC day, between 1 and 1000; defaults to 20. Runs a person starts do not count. A fuse against a loop, not a budget — the AI balance is the account's.
auto_publishWhether an article whose verdict is PASSED, and which nobody has edited, goes live on its slot's date with no person involved. Off by default; requires a reviewer. Read at the date, so switching it off takes effect at once.
translate_view_idsWhich of this website's views take a translation. Empty — every active view whose locale differs from the site's language. A view in the site's language, or switched off, is never a target. Two views on one locale get one translation and two overlays.
require_translationsWhether PASSED waits for every translation. On by default: a translation that failed or came back in another shape makes the verdict NEEDS_REVIEW. Off, it is listed as a MINOR issue and the article may still go out. Not checked without a translator.
topic_backlog_minThe backlog floor that starts a TOPICS run by itself: when CANDIDATE plus PROPOSED topics fall below it, the desk asks the strategist for a batch — at most once a day, and counted against max_generations_per_day. Between 0 and 100; 0 (the default) switches the refill off. Needs topic_agent_id.
topic_batch_sizeHow many topics one TOPICS run asks for, between 1 and 30; defaults to 10. A run's own topic_count overrides it.
topic_approvalWhat a proposed topic becomes: REQUIRED (the default) — PROPOSED, waiting for :accept before the planner may schedule it; AUTO — CANDIDATE at once, in the backlog like a topic a person wrote.
image_styleThe site's visual style, appended to every image brief — a photographic style, a palette, a mood. At most 2,000 characters.
require_imageWhether PASSED waits for the cover. Off by default: an article whose cover failed is listed with a MINOR issue and may still go out. On, it is NEEDS_REVIEW. Needs the two image agents.
EditorialAiPolicyUpdate
writer_agent_idThe ai_agents entry of this website's account that writes the article — a copy of the platform's mooverapp-article-writer. Without it the AI_GENERATED mode is not ready. Its output contract is checked on every write and again when a run starts.
reviewer_agent_idThe ai_agents entry that scores the finished article — a copy of mooverapp-article-reviewer. Without a reviewer no run reaches PASSED, and auto_publish cannot be switched on.
translator_agent_idThe ai_agents entry that translates the article into the website's other languages — a copy of mooverapp-article-translator. Absent, no translation is made and require_translations is not checked.
topic_agent_idThe ai_agents entry that proposes topics for the backlog — a copy of mooverapp-topic-strategist. Needed for a TOPICS run and for the automatic refill topic_backlog_min switches on.
image_prompt_agent_idThe ai_agents entry that turns the article into a brief for the image model — a copy of the platform's mooverapp-image-prompt-generator. Set together with image_agent_id, or neither.
image_agent_idThe ai_agents entry that draws the cover — a copy of mooverapp-featured-image, an IMAGE agent on an image model. Set together with image_prompt_agent_id, or neither.
site_briefWhat the website is about, in a paragraph the writer and the topic strategist read before every article. At most 4,000 characters.
voiceThe tone the articles are written in — calm and practical, playful, formal. At most 4,000 characters.
audienceWho the articles are for, so the writer pitches vocabulary and depth accordingly. At most 4,000 characters.
article_word_countHow long an article should be, in words of its body. Between 300 and 3000; defaults to 1000. An article far outside the target is flagged by the checks.
banned_phrasesPhrases an article must not contain — a case-insensitive occurrence of any of them is a BLOCKER in the verdict. At most 100, none blank, each at most 200 characters.
review_min_scoreThe reviewer's score, from 0 to 100, an article needs to pass. Defaults to 80. Below it the verdict is NEEDS_REVIEW and a person decides.
max_generations_per_dayHow many runs the desk may start by itself per UTC day, between 1 and 1000; defaults to 20. Runs a person starts do not count. A fuse against a loop, not a budget — the AI balance is the account's.
auto_publishWhether an article whose verdict is PASSED, and which nobody has edited, goes live on its slot's date with no person involved. Off by default; requires a reviewer. Read at the date, so switching it off takes effect at once.
translate_view_idsWhich of this website's views take a translation. Empty — every active view whose locale differs from the site's language. A view in the site's language, or switched off, is never a target. Two views on one locale get one translation and two overlays.
require_translationsWhether PASSED waits for every translation. On by default: a translation that failed or came back in another shape makes the verdict NEEDS_REVIEW. Off, it is listed as a MINOR issue and the article may still go out. Not checked without a translator.
topic_backlog_minThe backlog floor that starts a TOPICS run by itself: when CANDIDATE plus PROPOSED topics fall below it, the desk asks the strategist for a batch — at most once a day, and counted against max_generations_per_day. Between 0 and 100; 0 (the default) switches the refill off. Needs topic_agent_id.
topic_batch_sizeHow many topics one TOPICS run asks for, between 1 and 30; defaults to 10. A run's own topic_count overrides it.
topic_approvalWhat a proposed topic becomes: REQUIRED (the default) — PROPOSED, waiting for :accept before the planner may schedule it; AUTO — CANDIDATE at once, in the backlog like a topic a person wrote.
image_styleThe site's visual style, appended to every image brief — a photographic style, a palette, a mood. At most 2,000 characters.
require_imageWhether PASSED waits for the cover. Off by default: an article whose cover failed is listed with a MINOR issue and may still go out. On, it is NEEDS_REVIEW. Needs the two image agents.
EditorialGeneration
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
kindWhat the run produces: ARTICLE — one slot's post, with its translations and cover where the policy names the agents; TOPICS — a batch of proposed topics for the backlog. Fixed after create.
slot_idThe editorial_slots entry the run writes for. Required for an ARTICLE run and refused for a TOPICS run; the slot's content mode must be AI_GENERATED. Fixed after create.
partsWhich parts an ARTICLE run produces: TEXT, TRANSLATIONS, IMAGE. Empty — every part the policy enables, and the translations and the cover only for an article whose text verdict is PASSED. Named explicitly, the parts are produced whatever the verdict. On a drafted slot this is regeneration: the fields a person edited are kept and named on the step, and TEXT may be left out once a run has written the slot's article. Fixed after create.
view_idsThe views a TRANSLATIONS part covers, each one a view the policy would translate into; empty — all of them. Fixed after create.
topic_countHow many topics a TOPICS run asks for, between 1 and 30; defaults to the policy's topic_batch_size. Fixed after create.
image_model_idThe ai_models entry the cover is drawn on for this run, in place of the image agent's preferred_model_id. Only on an ARTICLE run that draws the cover — parts naming IMAGE, or empty on a policy with both image agents; the model must be one the image agent can run on, and is refused with the reason otherwise. Kept by :retry. Fixed after create.
image_notesA person's instructions for the cover of this run, at most 2000 characters. The image brief writer receives them as its notes variable, where its instruction declares one, and the image agent receives them appended to its prompt as they are. Only on a run that draws the cover, like image_model_id. Kept by :retry. Fixed after create.
triggerWho started the run: SCHEDULE — the desk, when the slot came within its writing time or the backlog fell under its floor; MANUAL — a person, through Create. Only SCHEDULE runs count against the policy's daily limit.
pipeline_versionWhich sequence of steps the run follows, fixed when it was created: article-v1 for an article, topics-v1 for topics. A run of a version the platform no longer knows ends FAILED.
stateQUEUED, RUNNING, then SUCCEEDED, FAILED or CANCELLED. The verdict is a separate question: a SUCCEEDED run may say the article needs a person.
stepsEvery step of the pipeline with its state — PENDING, RUNNING, WAITING, SUCCEEDED, FAILED, SKIPPED, CANCELLED — the ai_executions entry behind an agent step, the locale and view_ids of a translation step, why a waiting step waits and until when, its automatic retries, its error, and the skipped_fields a step left to the person who had edited them.
verdictWhat the run's checks, its reviewer and its parts made of the article: result (PASSED or NEEDS_REVIEW), the reviewer's score, and every issue with its code, severity, message, the step it came from and, for a translation, its locale. Present once the checks ran; final when the run is.
articleThe article as the writer produced it and the desk rendered it — the structured document the post's HTML was printed from and the translator received. The run's revision of the text, kept whatever happens to the post.
resultWhere the run was applied. An ARTICLE run: the target_id of the post it wrote, the view_ids it localised, and the media_id of the cover it put in the media library. A TOPICS run: created_topic_ids and duplicates_skipped.
costWhat the run's executions were charged to the AI balance, summed, as Money. Absent while none was charged — a run entirely on the account's own key.
policy_snapshotThe editorial AI policy as it was when the run was created. Editing the policy does not change a run in flight; auto_publish alone is read at the date.
errorWhy a FAILED run stopped, in the same shape as an API error: code, status, message and a PRECONDITION_FAILURE whose type names the reason.
end_timeWhen the run reached a final state (RFC 3339, UTC).
EditorialGenerationCreate
kindWhat the run produces: ARTICLE — one slot's post, with its translations and cover where the policy names the agents; TOPICS — a batch of proposed topics for the backlog. Fixed after create.
slot_idThe editorial_slots entry the run writes for. Required for an ARTICLE run and refused for a TOPICS run; the slot's content mode must be AI_GENERATED. Fixed after create.
partsWhich parts an ARTICLE run produces: TEXT, TRANSLATIONS, IMAGE. Empty — every part the policy enables, and the translations and the cover only for an article whose text verdict is PASSED. Named explicitly, the parts are produced whatever the verdict. On a drafted slot this is regeneration: the fields a person edited are kept and named on the step, and TEXT may be left out once a run has written the slot's article. Fixed after create.
view_idsThe views a TRANSLATIONS part covers, each one a view the policy would translate into; empty — all of them. Fixed after create.
topic_countHow many topics a TOPICS run asks for, between 1 and 30; defaults to the policy's topic_batch_size. Fixed after create.
image_model_idThe ai_models entry the cover is drawn on for this run, in place of the image agent's preferred_model_id. Only on an ARTICLE run that draws the cover — parts naming IMAGE, or empty on a policy with both image agents; the model must be one the image agent can run on, and is refused with the reason otherwise. Kept by :retry. Fixed after create.
image_notesA person's instructions for the cover of this run, at most 2000 characters. The image brief writer receives them as its notes variable, where its instruction declares one, and the image agent receives them appended to its prompt as they are. Only on a run that draws the cover, like image_model_id. Kept by :retry. Fixed after create.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used returns the run that key created instead of starting another.
EditorialGenerationUpdate
kindWhat the run produces: ARTICLE — one slot's post, with its translations and cover where the policy names the agents; TOPICS — a batch of proposed topics for the backlog. Fixed after create.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used returns the run that key created instead of starting another.
EditorialPlan
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
enabledWhether the desk is running. While it is false the calendar is not filled, no draft is prepared and nothing wakes up — the plan is kept, not executed.
time_zoneThe IANA zone the schedule's wall-clock times are read in, so "Monday 10:00" stays 10:00 across a daylight-saving change instead of drifting an hour twice a year.
scheduleWhen posts go out, as a list of {"weekday", "time_of_day"} rules. weekday is one of MONDAY…SUNDAY and time_of_day is a local HH:MM. An empty list plans nothing.
planning_horizon_daysHow far ahead the calendar is filled, in days. The window rolls forward on its own, so a plan left alone always has about this much scheduled. Defaults to 30.
draft_lead_daysHow long before its date a slot turns into a draft, in days — the writing time the desk gives itself. Defaults to 3.
target_typeWhat kind of content a slot produces. blog_post is the only kind this platform makes today, and the default; a slot may name a different one of its own.
content_modeWho fills a slot when its date comes near. EMPTY_DRAFT — the default — creates the draft and leaves the writing to a person; other modes are offered by the platform's producers, and a mode this website is not set up for is refused. A slot may override it for one date.
default_category_idsThe blog_categories a fresh draft is filed under when its topic names none of its own.
default_tag_idsThe blog_tags a fresh draft carries when its topic names none of its own.
default_author_idsThe blog_authors a fresh draft is credited to when its topic names no author of its own: one of them, chosen at random for each slot and kept if that slot is drafted again. List one author to credit every such draft to them.
notification_emailsWho the desk writes to about its work, up to 20 addresses. They are stored trimmed and in lower case, without repeats. Left empty, the letters go to the owner of the account.
notification_eventsWhat the desk writes about: TOPICS_PROPOSED — new topics were suggested, ARTICLE_DRAFTED — a draft is ready, ARTICLE_PUBLISHED — an article went live, FAILURE — preparing or publishing an article failed, or the desk is held back. Never set, it is all four. An empty list turns the letters off.
next_tick_timeWhen the desk next looks at this website's calendar. It is the plan's liveness signal: a value in the past on an enabled plan means the schedule stalled and needs waking.
EditorialPlanCreate
enabledWhether the desk is running. While it is false the calendar is not filled, no draft is prepared and nothing wakes up — the plan is kept, not executed.
time_zoneThe IANA zone the schedule's wall-clock times are read in, so "Monday 10:00" stays 10:00 across a daylight-saving change instead of drifting an hour twice a year.
scheduleWhen posts go out, as a list of {"weekday", "time_of_day"} rules. weekday is one of MONDAY…SUNDAY and time_of_day is a local HH:MM. An empty list plans nothing.
planning_horizon_daysHow far ahead the calendar is filled, in days. The window rolls forward on its own, so a plan left alone always has about this much scheduled. Defaults to 30.
draft_lead_daysHow long before its date a slot turns into a draft, in days — the writing time the desk gives itself. Defaults to 3.
target_typeWhat kind of content a slot produces. blog_post is the only kind this platform makes today, and the default; a slot may name a different one of its own.
content_modeWho fills a slot when its date comes near. EMPTY_DRAFT — the default — creates the draft and leaves the writing to a person; other modes are offered by the platform's producers, and a mode this website is not set up for is refused. A slot may override it for one date.
default_category_idsThe blog_categories a fresh draft is filed under when its topic names none of its own.
default_tag_idsThe blog_tags a fresh draft carries when its topic names none of its own.
default_author_idsThe blog_authors a fresh draft is credited to when its topic names no author of its own: one of them, chosen at random for each slot and kept if that slot is drafted again. List one author to credit every such draft to them.
notification_emailsWho the desk writes to about its work, up to 20 addresses. They are stored trimmed and in lower case, without repeats. Left empty, the letters go to the owner of the account.
notification_eventsWhat the desk writes about: TOPICS_PROPOSED — new topics were suggested, ARTICLE_DRAFTED — a draft is ready, ARTICLE_PUBLISHED — an article went live, FAILURE — preparing or publishing an article failed, or the desk is held back. Never set, it is all four. An empty list turns the letters off.
EditorialPlanUpdate
enabledWhether the desk is running. While it is false the calendar is not filled, no draft is prepared and nothing wakes up — the plan is kept, not executed.
time_zoneThe IANA zone the schedule's wall-clock times are read in, so "Monday 10:00" stays 10:00 across a daylight-saving change instead of drifting an hour twice a year.
scheduleWhen posts go out, as a list of {"weekday", "time_of_day"} rules. weekday is one of MONDAY…SUNDAY and time_of_day is a local HH:MM. An empty list plans nothing.
planning_horizon_daysHow far ahead the calendar is filled, in days. The window rolls forward on its own, so a plan left alone always has about this much scheduled. Defaults to 30.
draft_lead_daysHow long before its date a slot turns into a draft, in days — the writing time the desk gives itself. Defaults to 3.
target_typeWhat kind of content a slot produces. blog_post is the only kind this platform makes today, and the default; a slot may name a different one of its own.
content_modeWho fills a slot when its date comes near. EMPTY_DRAFT — the default — creates the draft and leaves the writing to a person; other modes are offered by the platform's producers, and a mode this website is not set up for is refused. A slot may override it for one date.
default_category_idsThe blog_categories a fresh draft is filed under when its topic names none of its own.
default_tag_idsThe blog_tags a fresh draft carries when its topic names none of its own.
default_author_idsThe blog_authors a fresh draft is credited to when its topic names no author of its own: one of them, chosen at random for each slot and kept if that slot is drafted again. List one author to credit every such draft to them.
notification_emailsWho the desk writes to about its work, up to 20 addresses. They are stored trimmed and in lower case, without repeats. Left empty, the letters go to the owner of the account.
notification_eventsWhat the desk writes about: TOPICS_PROPOSED — new topics were suggested, ARTICLE_DRAFTED — a draft is ready, ARTICLE_PUBLISHED — an article went live, FAILURE — preparing or publishing an article failed, or the desk is held back. Never set, it is all four. An empty list turns the letters off.
EditorialSlot
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
target_typeWhat this slot produces. Defaults to the plan's and cannot be changed afterwards: a slot that switched kind mid-flight would leave its draft behind with nothing pointing at it.
target_idThe blog_posts resource this slot created. It is also what makes preparing a draft safe to repeat — a slot that already names its post never gets a second one.
statusWhere the slot stands: PLANNED before its draft exists, GENERATING while a producer is writing it, DRAFTED once it does, PUBLISHED once that post is live, SKIPPED if the date was dropped, FAILED if preparing the draft did not work. FAILED is retried where the retry is free, and left to you where it is not.
originAUTO while the slot is the desk's to manage, MANUAL once a person created or edited it — after which the desk leaves it alone for good. This is the whole of "a person outranks the schedule".
last_errorWhy the last attempt to prepare this slot's draft did not work. Cleared as soon as one succeeds, so it always describes the present.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
generation_idThe latest editorial_generations run producing this slot's content, when a producer other than a person is writing it. Absent on a slot nobody generated.
review_verdictWhat the producer's own check made of the content: PASSED, or NEEDS_REVIEW when a person should read it before it goes out. A snapshot of the run's verdict, kept here so a month of calendar draws its badges without reading every run.
EditorialSlotCreate
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
target_typeWhat this slot produces. Defaults to the plan's and cannot be changed afterwards: a slot that switched kind mid-flight would leave its draft behind with nothing pointing at it.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
EditorialSlotUpdate
scheduled_timeWhen this piece goes out. Unique across the website — one slot per moment — and the order the calendar is read in. Moving a slot is a write of this field, and it takes the slot out of the desk's hands.
topic_idThe editorial_topics resource filling this slot. Empty on a slot someone put on the calendar with a title and no backlog entry.
titleThe headline this slot stands for, copied from its topic when the slot was made. It is a snapshot, so a month of calendar draws without reading every topic — and so a topic renamed later does not rewrite a slot that already produced a draft.
content_modeWho fills this one slot, overriding the plan's content_mode for this date alone — "I am writing this Friday myself". Absent, the plan decides. It can be set while the slot is still PLANNED or FAILED, not once its draft exists.
EditorialTopic
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
titleWhat the article is about, in a line. It becomes the headline of the draft the topic turns into, and the label the calendar shows for its slot.
briefThe editor's note on what the article should say. It is copied into the draft's teaser, so whoever writes the post opens it and finds the assignment already there.
keywordsThe search terms this article is meant to answer — a note to the writer, not something the platform acts on.
category_idsThe blog_categories this topic's draft is filed under. Set, it replaces the plan's defaults outright rather than adding to them.
tag_idsThe blog_tags this topic's draft carries, with the same rule as category_ids: set, it replaces the plan's defaults.
author_idThe blog_authors resource this topic's draft is credited to, instead of the plan's default.
priorityWhich topic is taken next: higher goes first, and equals are taken oldest first. Sort by it inside a status filter — that is the pair an index backs.
statusWhere the topic stands: PROPOSED while an idea the desk's AI suggested waits for a person, CANDIDATE while it waits in the backlog, PLANNED once a slot holds it, USED once that slot's post is live, REJECTED if it was turned down. Moved by :accept, :reject, :restore and by the desk itself, never by writing this field.
slot_idThe editorial_slots resource holding this topic while it is PLANNED or USED. Empty while it is still in the backlog.
originWho put the topic on the list: MANUAL for one a person entered, SUGGESTED for one a TOPICS run of editorial_generations proposed.
generation_idThe editorial_generations run that proposed this topic. Absent on a topic a person entered. Which topics a run proposed is that run's own result.
EditorialTopicCreate
titleWhat the article is about, in a line. It becomes the headline of the draft the topic turns into, and the label the calendar shows for its slot.
briefThe editor's note on what the article should say. It is copied into the draft's teaser, so whoever writes the post opens it and finds the assignment already there.
keywordsThe search terms this article is meant to answer — a note to the writer, not something the platform acts on.
category_idsThe blog_categories this topic's draft is filed under. Set, it replaces the plan's defaults outright rather than adding to them.
tag_idsThe blog_tags this topic's draft carries, with the same rule as category_ids: set, it replaces the plan's defaults.
author_idThe blog_authors resource this topic's draft is credited to, instead of the plan's default.
priorityWhich topic is taken next: higher goes first, and equals are taken oldest first. Sort by it inside a status filter — that is the pair an index backs.
EditorialTopicUpdate
titleWhat the article is about, in a line. It becomes the headline of the draft the topic turns into, and the label the calendar shows for its slot.
briefThe editor's note on what the article should say. It is copied into the draft's teaser, so whoever writes the post opens it and finds the assignment already there.
keywordsThe search terms this article is meant to answer — a note to the writer, not something the platform acts on.
category_idsThe blog_categories this topic's draft is filed under. Set, it replaces the plan's defaults outright rather than adding to them.
tag_idsThe blog_tags this topic's draft carries, with the same rule as category_ids: set, it replaces the plan's defaults.
author_idThe blog_authors resource this topic's draft is credited to, instead of the plan's default.
priorityWhich topic is taken next: higher goes first, and equals are taken oldest first. Sort by it inside a status filter — that is the pair an index backs.
EmailTemplate
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
kindWhich email the template is for: feedback — the message a website's contact form sends to its notification addresses; customer_welcome — what a visitor receives after registering an account on the website; customer_password_reset — the link a customer follows to choose a new password; customer_email_changed — what a customer receives at their previous address when they change the address they sign in with; customer_sign_in_code — the six-digit code a customer signs in with, sent to the address they typed; editorial_topics_proposed, editorial_article_drafted, editorial_article_published and editorial_failure — what the editorial desk sends the notification addresses of its plan when it has proposed topics, a draft is ready, an article has gone live, or something went wrong; order_placed — what a customer receives once their order is placed — and order_placed_owner — what the shop receives about it at its notification address; order_shipped — what a customer receives when part or all of their order is sent — order_cancelled — when the shop cancels it — and order_refunded — when the shop gives money of it back; return_requested_owner — what the shop receives at its notification address when a customer asks to return goods of their order — return_approved and return_declined — what the customer receives when the shop approves or declines that request; order_dispute_opened_owner — what the shop receives at its notification address when the customer's bank disputes a payment of an order at the payment provider; order_payment_request — what a customer receives when the shop places an order for them to pay online by its link; invoice_issued and credit_note_issued — what a customer receives when MooverApp issues the invoice of their order or a credit note that corrects it, the document whole in the email. The kind decides which placeholders the text may use. Required on Create and fixed afterwards.
display_nameThe template's name in the admin. A label for the people who edit it — the email's recipient never sees it.
subjectThe email's subject line, with {{placeholders}} as in body. It stays one line: a line break a placeholder's value brings in is sent as a space.
bodyThe email's text: plain text, where an empty line starts a new paragraph and {{placeholder}} is replaced by its value when the email is sent. There is no HTML to write — the platform sets the text in its own layout. A placeholder the kind does not have is replaced by nothing. A feedback template may use {{name}}, {{email}} and {{phone}} — what the visitor entered, empty when the form does not ask for it — {{message}}, what they wrote, {{page_title}}, the title of the contact page in the language of its view, and {{website_name}}. Every customer kind may use {{email}}, the address they sign in with, and {{website_name}}, and every one but customer_sign_in_code {{display_name}} — the customer's name, or their email address when they gave none; a customer_welcome template also {{account_url}}, the address of their account page, a customer_password_reset template {{reset_url}}, the one-time link to the page where they choose a new password, and a customer_email_changed template {{previous_email}} — the address they signed in with until the change, which the email is sent to, and the one {{display_name}} falls back to — and {{account_url}}; there {{email}} is the new address. A customer_sign_in_code template may use {{code}}, the six-digit code, and {{expire_minutes}}, how many minutes it works; there {{email}} is the address the code was sent to, which may have no account yet. A reset text that leaves {{reset_url}} out, and a sign-in code text that leaves {{code}} out, is not sent: the platform's own English email goes instead. Every editorial kind may use {{website_name}}. An editorial_topics_proposed template also {{topic_count}}, {{topics}} — the titles of the new topics, one per line — {{duplicates_skipped}}, {{topic_status}} (PROPOSED or CANDIDATE) and {{topics_url}}; an editorial_article_drafted template {{title}}, {{scheduled_time}} (YYYY-MM-DD HH:MM in the plan's time zone), {{verdict}}, {{score}}, {{issues}} — one per line — and {{cost}}, these four empty for a draft the AI did not write, and {{edit_url}}, {{generation_url}} and {{calendar_url}}; an editorial_article_published template {{title}}, {{public_url}}, the article's address on the website, {{edit_url}} and {{calendar_url}}; an editorial_failure template {{title}} and {{scheduled_time}}, empty when no single article is concerned, {{stage}} — the step that went wrong — {{reason}}, its code, {{message}}, {{issues}} and {{url}}, the run's page or the calendar. The editorial links lead into the admin, and are empty when the platform has no address of it configured. Both order kinds, order_placed and order_placed_owner, may use {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what was ordered, one product per line with its options, quantity and total — {{subtotal}} and {{total}} with their currency, {{shipping_total}} — the shipping's row, Shipping (Standard delivery): 5.00 USD, for between the subtotal and the tax — and {{shipping_method}}, the name of the way to ship, both empty when the order does not ship, {{tax}} — the tax on top of the prices, one line per rate, for between the subtotal and the total — and {{tax_included}} — the tax the prices hold, likewise, for after the total — each empty, its line left out, when the order has no such tax, {{payment_method}}, {{payment_instructions}}, what the view tells its customers about paying, {{shipping_address}}, one part per line, and {{billing_address}}, likewise, empty when the order is billed to the shipping address; an order_placed_owner template also {{customer_email}}, {{customer_phone}}, {{customer_tax_id}} — the customer's tax number where the website asks for one — and {{note}}, these three empty when the customer gave none. An order_shipped template may use {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what this parcel holds, one product per line with its options and the quantity sent — {{carrier}}, {{tracking_number}} and {{tracking_url}}, each empty when the shop gave none, and {{shipping_address}}; an order_cancelled template {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} as in order_placed, {{shipping_total}}, {{total}} and {{cancel_reason}}, empty when the shop gave no reason; an order_refunded template {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what the refund gives back, one product per line with the units it takes back and the amount — {{tax}}, the tax it gives back, one line per rate, empty when none, {{shipping_total}}, the shipping it gives back, empty when none, {{total}}, what it gives back in all, and {{refund_reason}}, empty when the shop gave no reason. The three return kinds, return_requested_owner, return_approved and return_declined, may use {{website_name}}, {{order_number}}, {{customer_name}} and {{lines}} — the goods of the return, one product per line with its options and the units that come back; a return_requested_owner template also {{customer_email}} and {{return_reason}}, why the customer wants to send them back, and a return_declined template {{decline_reason}}, empty when the shop gave none. An order_dispute_opened_owner template may use {{website_name}}, {{order_number}}, {{customer_name}}, {{customer_email}}, {{dispute_amount}} — the amount disputed, with its currency — {{dispute_reason}}, the payment provider's code of why, such as fraudulent, empty when it named none, and {{dispute_respond_by}} — when the shop's evidence is due, a date and a time in UTC — empty when the provider named none. An order_payment_request template may use the placement's {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}}, {{subtotal}}, {{shipping_total}}, {{shipping_method}}, {{tax}}, {{total}}, {{tax_included}} and {{payment_method}}, and {{payment_url}} — the page where the customer pays the order, which the email also carries as a button — and {{payment_due}}, when it is due to be paid, a date and a time in UTC. Both document kinds, invoice_issued and credit_note_issued, may use {{website_name}}, {{document_number}}, {{issue_date}} — the day it was issued, as the email's language writes a date — {{order_number}}, {{customer_name}}, {{seller}} and {{buyer}} — each one part per line, with its tax number — {{lines}} — one product per line with its SKU, quantity, unit price and amount, then the shipping — {{subtotal}}, {{tax}}, one line per rate, empty when none, {{total}} and {{footer_note}}; a credit_note_issued template also {{corrected_invoice_number}} and {{corrected_invoice_date}}, the invoice it corrects. A line made of placeholders that are all empty is left out. A text of any order kind that leaves {{order_number}} out, and of a document kind that leaves {{document_number}} out, is not sent: the platform's own English email goes instead.
is_defaultWhether this is the template the platform created for its kind — the one an email of that kind is sent from when the website has chosen no other. There is one per kind, only the platform sets it, and it cannot be deleted.
EmailTemplateCreate
display_nameThe template's name in the admin. A label for the people who edit it — the email's recipient never sees it.
subjectThe email's subject line, with {{placeholders}} as in body. It stays one line: a line break a placeholder's value brings in is sent as a space.
bodyThe email's text: plain text, where an empty line starts a new paragraph and {{placeholder}} is replaced by its value when the email is sent. There is no HTML to write — the platform sets the text in its own layout. A placeholder the kind does not have is replaced by nothing. A feedback template may use {{name}}, {{email}} and {{phone}} — what the visitor entered, empty when the form does not ask for it — {{message}}, what they wrote, {{page_title}}, the title of the contact page in the language of its view, and {{website_name}}. Every customer kind may use {{email}}, the address they sign in with, and {{website_name}}, and every one but customer_sign_in_code {{display_name}} — the customer's name, or their email address when they gave none; a customer_welcome template also {{account_url}}, the address of their account page, a customer_password_reset template {{reset_url}}, the one-time link to the page where they choose a new password, and a customer_email_changed template {{previous_email}} — the address they signed in with until the change, which the email is sent to, and the one {{display_name}} falls back to — and {{account_url}}; there {{email}} is the new address. A customer_sign_in_code template may use {{code}}, the six-digit code, and {{expire_minutes}}, how many minutes it works; there {{email}} is the address the code was sent to, which may have no account yet. A reset text that leaves {{reset_url}} out, and a sign-in code text that leaves {{code}} out, is not sent: the platform's own English email goes instead. Every editorial kind may use {{website_name}}. An editorial_topics_proposed template also {{topic_count}}, {{topics}} — the titles of the new topics, one per line — {{duplicates_skipped}}, {{topic_status}} (PROPOSED or CANDIDATE) and {{topics_url}}; an editorial_article_drafted template {{title}}, {{scheduled_time}} (YYYY-MM-DD HH:MM in the plan's time zone), {{verdict}}, {{score}}, {{issues}} — one per line — and {{cost}}, these four empty for a draft the AI did not write, and {{edit_url}}, {{generation_url}} and {{calendar_url}}; an editorial_article_published template {{title}}, {{public_url}}, the article's address on the website, {{edit_url}} and {{calendar_url}}; an editorial_failure template {{title}} and {{scheduled_time}}, empty when no single article is concerned, {{stage}} — the step that went wrong — {{reason}}, its code, {{message}}, {{issues}} and {{url}}, the run's page or the calendar. The editorial links lead into the admin, and are empty when the platform has no address of it configured. Both order kinds, order_placed and order_placed_owner, may use {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what was ordered, one product per line with its options, quantity and total — {{subtotal}} and {{total}} with their currency, {{shipping_total}} — the shipping's row, Shipping (Standard delivery): 5.00 USD, for between the subtotal and the tax — and {{shipping_method}}, the name of the way to ship, both empty when the order does not ship, {{tax}} — the tax on top of the prices, one line per rate, for between the subtotal and the total — and {{tax_included}} — the tax the prices hold, likewise, for after the total — each empty, its line left out, when the order has no such tax, {{payment_method}}, {{payment_instructions}}, what the view tells its customers about paying, {{shipping_address}}, one part per line, and {{billing_address}}, likewise, empty when the order is billed to the shipping address; an order_placed_owner template also {{customer_email}}, {{customer_phone}}, {{customer_tax_id}} — the customer's tax number where the website asks for one — and {{note}}, these three empty when the customer gave none. An order_shipped template may use {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what this parcel holds, one product per line with its options and the quantity sent — {{carrier}}, {{tracking_number}} and {{tracking_url}}, each empty when the shop gave none, and {{shipping_address}}; an order_cancelled template {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} as in order_placed, {{shipping_total}}, {{total}} and {{cancel_reason}}, empty when the shop gave no reason; an order_refunded template {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what the refund gives back, one product per line with the units it takes back and the amount — {{tax}}, the tax it gives back, one line per rate, empty when none, {{shipping_total}}, the shipping it gives back, empty when none, {{total}}, what it gives back in all, and {{refund_reason}}, empty when the shop gave no reason. The three return kinds, return_requested_owner, return_approved and return_declined, may use {{website_name}}, {{order_number}}, {{customer_name}} and {{lines}} — the goods of the return, one product per line with its options and the units that come back; a return_requested_owner template also {{customer_email}} and {{return_reason}}, why the customer wants to send them back, and a return_declined template {{decline_reason}}, empty when the shop gave none. An order_dispute_opened_owner template may use {{website_name}}, {{order_number}}, {{customer_name}}, {{customer_email}}, {{dispute_amount}} — the amount disputed, with its currency — {{dispute_reason}}, the payment provider's code of why, such as fraudulent, empty when it named none, and {{dispute_respond_by}} — when the shop's evidence is due, a date and a time in UTC — empty when the provider named none. An order_payment_request template may use the placement's {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}}, {{subtotal}}, {{shipping_total}}, {{shipping_method}}, {{tax}}, {{total}}, {{tax_included}} and {{payment_method}}, and {{payment_url}} — the page where the customer pays the order, which the email also carries as a button — and {{payment_due}}, when it is due to be paid, a date and a time in UTC. Both document kinds, invoice_issued and credit_note_issued, may use {{website_name}}, {{document_number}}, {{issue_date}} — the day it was issued, as the email's language writes a date — {{order_number}}, {{customer_name}}, {{seller}} and {{buyer}} — each one part per line, with its tax number — {{lines}} — one product per line with its SKU, quantity, unit price and amount, then the shipping — {{subtotal}}, {{tax}}, one line per rate, empty when none, {{total}} and {{footer_note}}; a credit_note_issued template also {{corrected_invoice_number}} and {{corrected_invoice_date}}, the invoice it corrects. A line made of placeholders that are all empty is left out. A text of any order kind that leaves {{order_number}} out, and of a document kind that leaves {{document_number}} out, is not sent: the platform's own English email goes instead.
kindWhich email the template is for: feedback — the message a website's contact form sends to its notification addresses; customer_welcome — what a visitor receives after registering an account on the website; customer_password_reset — the link a customer follows to choose a new password; customer_email_changed — what a customer receives at their previous address when they change the address they sign in with; customer_sign_in_code — the six-digit code a customer signs in with, sent to the address they typed; editorial_topics_proposed, editorial_article_drafted, editorial_article_published and editorial_failure — what the editorial desk sends the notification addresses of its plan when it has proposed topics, a draft is ready, an article has gone live, or something went wrong; order_placed — what a customer receives once their order is placed — and order_placed_owner — what the shop receives about it at its notification address; order_shipped — what a customer receives when part or all of their order is sent — order_cancelled — when the shop cancels it — and order_refunded — when the shop gives money of it back; return_requested_owner — what the shop receives at its notification address when a customer asks to return goods of their order — return_approved and return_declined — what the customer receives when the shop approves or declines that request; order_dispute_opened_owner — what the shop receives at its notification address when the customer's bank disputes a payment of an order at the payment provider; order_payment_request — what a customer receives when the shop places an order for them to pay online by its link; invoice_issued and credit_note_issued — what a customer receives when MooverApp issues the invoice of their order or a credit note that corrects it, the document whole in the email. The kind decides which placeholders the text may use. Required on Create and fixed afterwards.
EmailTemplateUpdate
display_nameThe template's name in the admin. A label for the people who edit it — the email's recipient never sees it.
subjectThe email's subject line, with {{placeholders}} as in body. It stays one line: a line break a placeholder's value brings in is sent as a space.
bodyThe email's text: plain text, where an empty line starts a new paragraph and {{placeholder}} is replaced by its value when the email is sent. There is no HTML to write — the platform sets the text in its own layout. A placeholder the kind does not have is replaced by nothing. A feedback template may use {{name}}, {{email}} and {{phone}} — what the visitor entered, empty when the form does not ask for it — {{message}}, what they wrote, {{page_title}}, the title of the contact page in the language of its view, and {{website_name}}. Every customer kind may use {{email}}, the address they sign in with, and {{website_name}}, and every one but customer_sign_in_code {{display_name}} — the customer's name, or their email address when they gave none; a customer_welcome template also {{account_url}}, the address of their account page, a customer_password_reset template {{reset_url}}, the one-time link to the page where they choose a new password, and a customer_email_changed template {{previous_email}} — the address they signed in with until the change, which the email is sent to, and the one {{display_name}} falls back to — and {{account_url}}; there {{email}} is the new address. A customer_sign_in_code template may use {{code}}, the six-digit code, and {{expire_minutes}}, how many minutes it works; there {{email}} is the address the code was sent to, which may have no account yet. A reset text that leaves {{reset_url}} out, and a sign-in code text that leaves {{code}} out, is not sent: the platform's own English email goes instead. Every editorial kind may use {{website_name}}. An editorial_topics_proposed template also {{topic_count}}, {{topics}} — the titles of the new topics, one per line — {{duplicates_skipped}}, {{topic_status}} (PROPOSED or CANDIDATE) and {{topics_url}}; an editorial_article_drafted template {{title}}, {{scheduled_time}} (YYYY-MM-DD HH:MM in the plan's time zone), {{verdict}}, {{score}}, {{issues}} — one per line — and {{cost}}, these four empty for a draft the AI did not write, and {{edit_url}}, {{generation_url}} and {{calendar_url}}; an editorial_article_published template {{title}}, {{public_url}}, the article's address on the website, {{edit_url}} and {{calendar_url}}; an editorial_failure template {{title}} and {{scheduled_time}}, empty when no single article is concerned, {{stage}} — the step that went wrong — {{reason}}, its code, {{message}}, {{issues}} and {{url}}, the run's page or the calendar. The editorial links lead into the admin, and are empty when the platform has no address of it configured. Both order kinds, order_placed and order_placed_owner, may use {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what was ordered, one product per line with its options, quantity and total — {{subtotal}} and {{total}} with their currency, {{shipping_total}} — the shipping's row, Shipping (Standard delivery): 5.00 USD, for between the subtotal and the tax — and {{shipping_method}}, the name of the way to ship, both empty when the order does not ship, {{tax}} — the tax on top of the prices, one line per rate, for between the subtotal and the total — and {{tax_included}} — the tax the prices hold, likewise, for after the total — each empty, its line left out, when the order has no such tax, {{payment_method}}, {{payment_instructions}}, what the view tells its customers about paying, {{shipping_address}}, one part per line, and {{billing_address}}, likewise, empty when the order is billed to the shipping address; an order_placed_owner template also {{customer_email}}, {{customer_phone}}, {{customer_tax_id}} — the customer's tax number where the website asks for one — and {{note}}, these three empty when the customer gave none. An order_shipped template may use {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what this parcel holds, one product per line with its options and the quantity sent — {{carrier}}, {{tracking_number}} and {{tracking_url}}, each empty when the shop gave none, and {{shipping_address}}; an order_cancelled template {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} as in order_placed, {{shipping_total}}, {{total}} and {{cancel_reason}}, empty when the shop gave no reason; an order_refunded template {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}} — what the refund gives back, one product per line with the units it takes back and the amount — {{tax}}, the tax it gives back, one line per rate, empty when none, {{shipping_total}}, the shipping it gives back, empty when none, {{total}}, what it gives back in all, and {{refund_reason}}, empty when the shop gave no reason. The three return kinds, return_requested_owner, return_approved and return_declined, may use {{website_name}}, {{order_number}}, {{customer_name}} and {{lines}} — the goods of the return, one product per line with its options and the units that come back; a return_requested_owner template also {{customer_email}} and {{return_reason}}, why the customer wants to send them back, and a return_declined template {{decline_reason}}, empty when the shop gave none. An order_dispute_opened_owner template may use {{website_name}}, {{order_number}}, {{customer_name}}, {{customer_email}}, {{dispute_amount}} — the amount disputed, with its currency — {{dispute_reason}}, the payment provider's code of why, such as fraudulent, empty when it named none, and {{dispute_respond_by}} — when the shop's evidence is due, a date and a time in UTC — empty when the provider named none. An order_payment_request template may use the placement's {{website_name}}, {{order_number}}, {{customer_name}}, {{lines}}, {{subtotal}}, {{shipping_total}}, {{shipping_method}}, {{tax}}, {{total}}, {{tax_included}} and {{payment_method}}, and {{payment_url}} — the page where the customer pays the order, which the email also carries as a button — and {{payment_due}}, when it is due to be paid, a date and a time in UTC. Both document kinds, invoice_issued and credit_note_issued, may use {{website_name}}, {{document_number}}, {{issue_date}} — the day it was issued, as the email's language writes a date — {{order_number}}, {{customer_name}}, {{seller}} and {{buyer}} — each one part per line, with its tax number — {{lines}} — one product per line with its SKU, quantity, unit price and amount, then the shipping — {{subtotal}}, {{tax}}, one line per rate, empty when none, {{total}} and {{footer_note}}; a credit_note_issued template also {{corrected_invoice_number}} and {{corrected_invoice_date}}, the invoice it corrects. A line made of placeholders that are all empty is left out. A text of any order kind that leaves {{order_number}} out, and of a document kind that leaves {{document_number}} out, is not sent: the platform's own English email goes instead.
EmailTemplateView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
email_template_idThe template this overlay belongs to. Fixed by the URL.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe fields this view actually overrides — subject, body, or both. A field not listed falls back along the view's fallback chain to the template itself, whatever value is stored for it here.
subjectThis view's subject line, with the template's placeholders.
bodyThis view's text, written like the template's body.
EmailTemplateViewCreate
overriddenThe fields this view actually overrides — subject, body, or both. A field not listed falls back along the view's fallback chain to the template itself, whatever value is stored for it here.
subjectThis view's subject line, with the template's placeholders.
bodyThis view's text, written like the template's body.
EmailTemplateViewUpdate
overriddenThe fields this view actually overrides — subject, body, or both. A field not listed falls back along the view's fallback chain to the template itself, whatever value is stored for it here.
subjectThis view's subject line, with the template's placeholders.
bodyThis view's text, written like the template's body.
ImageGeneration
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
promptWhat to draw, in words — the subject, the setting, the style, the light. Not blank, at most 4000 characters. With reference_media_ids it says what to do with those pictures: "the product of the first picture on a beach at sunset".
model_idThe ai_models entry that draws the picture: one with the IMAGE_GENERATION capability. Its provider is the one asked, through a connection the account may use.
widthThe width of the picture in pixels, from 64 to 4096; 1024 when left out. A model may round it to a size it draws.
heightThe height of the picture in pixels, from 64 to 4096; 1024 when left out.
qualityHow carefully the picture is drawn: LOW, MEDIUM, HIGH, XHIGH or MAX. Left out, the provider's default; a model whose provider has no such setting ignores it.
backgroundOPAQUE, or TRANSPARENT for a picture with no background — a logo, a cut-out product — which only a model with the TRANSPARENT_BACKGROUND capability draws. Left out, the provider picks.
reference_media_idsUp to four files of this website's media library — PNG, JPEG or WebP pictures — for the model to work from, in the order the prompt refers to them: the picture to change, or a product to show. Needs a model with the IMAGE_EDITING capability. Each is sent at most 2048 pixels on its longer side.
connection_modeWhose key may pay for the picture: ANY (the default — the account's own key first, then the platform's), BYOK_ONLY or MANAGED_ONLY.
titleThe title the file is stored with in the media library, at most 255 characters; its file name is made from it.
alt_textThe text the file is stored with for readers who cannot see it, at most 512 characters.
folder_idThe folder of the media library the file goes into. Left out, the library's «AI Images» folder, made if it is not there.
stateRUNNING while the picture is drawn and stored, then SUCCEEDED, FAILED or CANCELLED. A run still RUNNING past deadline_time was interrupted and reads FAILED.
media_idThe file of the media library the picture became, once SUCCEEDED. Deleting the file leaves the run as it is.
usageWhat the picture consumed, once the provider said: input_tokens, output_tokens, image_count and megapixels_milli (thousandths of a megapixel); cost, as Money, when the platform's key paid from the AI balance; and connection_kind, BYOK or MANAGED. A cancelled picture the provider had drawn already is charged and carries it too.
errorWhy a FAILED run failed, in the same shape as an API error: code, status, message and, where there is one, a PRECONDITION_FAILURE whose type says why — the AI platform's refusal before the provider was asked (MODEL_INCOMPATIBLE, NO_USABLE_CONNECTION, INSUFFICIENT_BALANCE, MODEL_NOT_PRICED, …) or the provider's failure (CONTENT_MODERATED, TIMEOUT, …).
deadline_timeWhen the run must have ended: the provider's time for one picture and a minute to store it (RFC 3339, UTC).
end_timeWhen the run ended, once it has (RFC 3339, UTC).
ImageGenerationCreate
promptWhat to draw, in words — the subject, the setting, the style, the light. Not blank, at most 4000 characters. With reference_media_ids it says what to do with those pictures: "the product of the first picture on a beach at sunset".
model_idThe ai_models entry that draws the picture: one with the IMAGE_GENERATION capability. Its provider is the one asked, through a connection the account may use.
widthThe width of the picture in pixels, from 64 to 4096; 1024 when left out. A model may round it to a size it draws.
heightThe height of the picture in pixels, from 64 to 4096; 1024 when left out.
qualityHow carefully the picture is drawn: LOW, MEDIUM, HIGH, XHIGH or MAX. Left out, the provider's default; a model whose provider has no such setting ignores it.
backgroundOPAQUE, or TRANSPARENT for a picture with no background — a logo, a cut-out product — which only a model with the TRANSPARENT_BACKGROUND capability draws. Left out, the provider picks.
reference_media_idsUp to four files of this website's media library — PNG, JPEG or WebP pictures — for the model to work from, in the order the prompt refers to them: the picture to change, or a product to show. Needs a model with the IMAGE_EDITING capability. Each is sent at most 2048 pixels on its longer side.
connection_modeWhose key may pay for the picture: ANY (the default — the account's own key first, then the platform's), BYOK_ONLY or MANAGED_ONLY.
titleThe title the file is stored with in the media library, at most 255 characters; its file name is made from it.
alt_textThe text the file is stored with for readers who cannot see it, at most 512 characters.
folder_idThe folder of the media library the file goes into. Left out, the library's «AI Images» folder, made if it is not there.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used on this website returns the run that key created instead of drawing another picture.
ImageGenerationUpdate
promptWhat to draw, in words — the subject, the setting, the style, the light. Not blank, at most 4000 characters. With reference_media_ids it says what to do with those pictures: "the product of the first picture on a beach at sunset".
model_idThe ai_models entry that draws the picture: one with the IMAGE_GENERATION capability. Its provider is the one asked, through a connection the account may use.
widthThe width of the picture in pixels, from 64 to 4096; 1024 when left out. A model may round it to a size it draws.
heightThe height of the picture in pixels, from 64 to 4096; 1024 when left out.
qualityHow carefully the picture is drawn: LOW, MEDIUM, HIGH, XHIGH or MAX. Left out, the provider's default; a model whose provider has no such setting ignores it.
backgroundOPAQUE, or TRANSPARENT for a picture with no background — a logo, a cut-out product — which only a model with the TRANSPARENT_BACKGROUND capability draws. Left out, the provider picks.
reference_media_idsUp to four files of this website's media library — PNG, JPEG or WebP pictures — for the model to work from, in the order the prompt refers to them: the picture to change, or a product to show. Needs a model with the IMAGE_EDITING capability. Each is sent at most 2048 pixels on its longer side.
connection_modeWhose key may pay for the picture: ANY (the default — the account's own key first, then the platform's), BYOK_ONLY or MANAGED_ONLY.
titleThe title the file is stored with in the media library, at most 255 characters; its file name is made from it.
alt_textThe text the file is stored with for readers who cannot see it, at most 512 characters.
folder_idThe folder of the media library the file goes into. Left out, the library's «AI Images» folder, made if it is not there.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key already used on this website returns the run that key created instead of drawing another picture.
Invoice
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
order_idThe order the document is of — websites/{website}/orders/{order_id}. Required on create — attaching a document or asking MooverApp to issue one — and an id that names no order of the website answers NOT_FOUND. order_id = "…" lists the documents of one order.
order_numberThe order's number, copied when the document was written.
customer_idThe website's customer who placed the order, copied from it; absent on a guest's order.
typeWhat the document is: SALES_INVOICE — an invoice of the order's sale — or CREDIT_NOTE — a document that corrects one, money given back (an NF-e de devolução): it names the invoice it corrects in corrected_invoice_id. Attaching one, SALES_INVOICE unless you send otherwise; asking MooverApp to issue one, a CREDIT_NOTE with a refund_id and a SALES_INVOICE without.
originWho issued the document: EXTERNAL — an outside system, an ERP or the issuer of an NF-e, attached it here, when the website's invoicing.mode is EXTERNAL; ISSUED — MooverApp issued it itself, when the mode is ISSUED.
numberThe document's number: as its issuer wrote it — an NF-e's nNF — up to 64 characters on one line, required when attaching one; an issued document's is its series' prefix and sequence_number (INV-1, CN-1), never sent. number = "…" finds a document by it.
issue_timeWhen the document was issued, RFC 3339 — required when attaching one; an issued document's is when MooverApp issued it. The list's default order, the newest first; issue_time >= "…" and issue_time < "…" cut a period.
currency_codeThe currency of every amount of the document: the order's.
totalWhat the document comes to, a google.type.Money in the order's currency (INVALID_ARGUMENT on total.currency_code otherwise) — required when attaching one. An issued invoice's is the order's current_total when it was issued; an issued credit note's, its refund's total.
tax_totalThe document's tax, a google.type.Money in the order's currency and at most total; absent on an attached document that gave none.
refund_idA credit note's: the refund of the order it gives back — the id of one of the order's refunds, else INVALID_ARGUMENT. Refused on an invoice of the sale. Asking MooverApp to issue a document, it asks for the credit note of that refund.
corrected_invoice_idA credit note's: the invoice it corrects — the id of a SALES_INVOICE document of the same order, else INVALID_ARGUMENT. Required on a credit note, refused on an invoice of the sale.
corrected_invoice_numberA credit note's: the number of the invoice it corrects, copied from it.
corrected_invoice_issue_timeA credit note's: the issue_time of the invoice it corrects, copied from it.
send_timeWhen the document was last emailed to the customer — at its issue while invoicing.send_to_customer is on, and at each :send; absent while it has not been. Only a document MooverApp issued is ever sent.
actorWho wrote the document: {type, id?} — type USER and id the user of the account whose token attached it, or SYSTEM for one MooverApp issued on a fact of the order.
sequence_numberAn ISSUED document's place in the series of its type — the invoices and the credit notes are counted apart, from 1, without gaps.
sellerAn ISSUED document's seller: {legal_name, address, tax_id?}, a copy of the website's invoicing.seller_* settings when it was issued.
buyerAn ISSUED document's buyer: {display_name, address, tax_id?} — the order's billing name and address and the customer's tax number ({type, value}), copied when it was issued.
linesAn ISSUED document's lines: [{kind, display_name, sku, quantity, unit_price, amount, tax_rate?, tax_amount?}], its own copy of what it bills or credits, never changed after. kind is PRODUCT for a product of the order and SHIPPING for the order's shipping — the way to ship's name, no SKU, one unit at the order's shipping_total, less what refunds gave back of it.
tax_linesAn ISSUED document's tax by name and rate, the highest rate first: [{display_name, rate, amount}], rate a percentage as a decimal string.
subtotalWhat an ISSUED document's lines come to, a google.type.Money.
prices_include_taxWhether an ISSUED document's prices hold the tax, as the order's did.
footer_noteWhat an ISSUED document prints under its lines: a copy of invoicing.footer_note.
included_refund_idsAn ISSUED invoice's: the ids of the order's refunds made before it was issued — its lines count them already, so none of them is given a credit note. Every refund after it is.
seriesAn attached document's series, where its issuer numbers in several — an NF-e's serie: up to 16 characters on one line.
access_keyAn NF-e's access key (chave de acesso): 44 digits, without spaces or dots, the last the check digit of the 43 before it, modulo 11 — INVALID_ARGUMENT otherwise. Required on a document of an order shipped to Brazil. One document per key on the website: a key attached already answers ALREADY_EXISTS.
filesWhere the outside system keeps the document — the DANFE and the XML of an NF-e: [{format, uri}], at most 5, format PDF, XML or OTHER, uri an https address of at most 2000 characters. MooverApp keeps the links, never the files: the shop and its customer open them where they are.
InvoiceCreate
order_idThe order the document is of — websites/{website}/orders/{order_id}. Required on create — attaching a document or asking MooverApp to issue one — and an id that names no order of the website answers NOT_FOUND. order_id = "…" lists the documents of one order.
typeWhat the document is: SALES_INVOICE — an invoice of the order's sale — or CREDIT_NOTE — a document that corrects one, money given back (an NF-e de devolução): it names the invoice it corrects in corrected_invoice_id. Attaching one, SALES_INVOICE unless you send otherwise; asking MooverApp to issue one, a CREDIT_NOTE with a refund_id and a SALES_INVOICE without.
numberThe document's number: as its issuer wrote it — an NF-e's nNF — up to 64 characters on one line, required when attaching one; an issued document's is its series' prefix and sequence_number (INV-1, CN-1), never sent. number = "…" finds a document by it.
issue_timeWhen the document was issued, RFC 3339 — required when attaching one; an issued document's is when MooverApp issued it. The list's default order, the newest first; issue_time >= "…" and issue_time < "…" cut a period.
totalWhat the document comes to, a google.type.Money in the order's currency (INVALID_ARGUMENT on total.currency_code otherwise) — required when attaching one. An issued invoice's is the order's current_total when it was issued; an issued credit note's, its refund's total.
tax_totalThe document's tax, a google.type.Money in the order's currency and at most total; absent on an attached document that gave none.
refund_idA credit note's: the refund of the order it gives back — the id of one of the order's refunds, else INVALID_ARGUMENT. Refused on an invoice of the sale. Asking MooverApp to issue a document, it asks for the credit note of that refund.
corrected_invoice_idA credit note's: the invoice it corrects — the id of a SALES_INVOICE document of the same order, else INVALID_ARGUMENT. Required on a credit note, refused on an invoice of the sale.
seriesAn attached document's series, where its issuer numbers in several — an NF-e's serie: up to 16 characters on one line.
access_keyAn NF-e's access key (chave de acesso): 44 digits, without spaces or dots, the last the check digit of the 43 before it, modulo 11 — INVALID_ARGUMENT otherwise. Required on a document of an order shipped to Brazil. One document per key on the website: a key attached already answers ALREADY_EXISTS.
filesWhere the outside system keeps the document — the DANFE and the XML of an NF-e: [{format, uri}], at most 5, format PDF, XML or OTHER, uri an https address of at most 2000 characters. MooverApp keeps the links, never the files: the shop and its customer open them where they are.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the website already has a document of answers that document and writes nothing again.
InvoiceUpdate
order_idThe order the document is of — websites/{website}/orders/{order_id}. Required on create — attaching a document or asking MooverApp to issue one — and an id that names no order of the website answers NOT_FOUND. order_id = "…" lists the documents of one order.
typeWhat the document is: SALES_INVOICE — an invoice of the order's sale — or CREDIT_NOTE — a document that corrects one, money given back (an NF-e de devolução): it names the invoice it corrects in corrected_invoice_id. Attaching one, SALES_INVOICE unless you send otherwise; asking MooverApp to issue one, a CREDIT_NOTE with a refund_id and a SALES_INVOICE without.
numberThe document's number: as its issuer wrote it — an NF-e's nNF — up to 64 characters on one line, required when attaching one; an issued document's is its series' prefix and sequence_number (INV-1, CN-1), never sent. number = "…" finds a document by it.
issue_timeWhen the document was issued, RFC 3339 — required when attaching one; an issued document's is when MooverApp issued it. The list's default order, the newest first; issue_time >= "…" and issue_time < "…" cut a period.
totalWhat the document comes to, a google.type.Money in the order's currency (INVALID_ARGUMENT on total.currency_code otherwise) — required when attaching one. An issued invoice's is the order's current_total when it was issued; an issued credit note's, its refund's total.
tax_totalThe document's tax, a google.type.Money in the order's currency and at most total; absent on an attached document that gave none.
refund_idA credit note's: the refund of the order it gives back — the id of one of the order's refunds, else INVALID_ARGUMENT. Refused on an invoice of the sale. Asking MooverApp to issue a document, it asks for the credit note of that refund.
corrected_invoice_idA credit note's: the invoice it corrects — the id of a SALES_INVOICE document of the same order, else INVALID_ARGUMENT. Required on a credit note, refused on an invoice of the sale.
seriesAn attached document's series, where its issuer numbers in several — an NF-e's serie: up to 16 characters on one line.
access_keyAn NF-e's access key (chave de acesso): 44 digits, without spaces or dots, the last the check digit of the 43 before it, modulo 11 — INVALID_ARGUMENT otherwise. Required on a document of an order shipped to Brazil. One document per key on the website: a key attached already answers ALREADY_EXISTS.
filesWhere the outside system keeps the document — the DANFE and the XML of an NF-e: [{format, uri}], at most 5, format PDF, XML or OTHER, uri an https address of at most 2000 characters. MooverApp keeps the links, never the files: the shop and its customer open them where they are.
request_idAn idempotency key you choose, at most 64 characters. Creating with a key the website already has a document of answers that document and writes nothing again.
MediaFolder
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe folder's name, as the media library shows it.
parent_idThe folder this one sits in; empty at the root. Settable on create and immutable afterwards — moving a folder is :move.
pathThe folder's position in the tree, as the ids of its ancestors and its own. Sorting by it renders the whole tree in one page, which is why it is the default order.
sort_orderThe folder's position among its siblings. Set by :move, never by a write.
levelHow deep the folder sits, counting the root as 0. Server-maintained with the rest of the tree bookkeeping.
keyWhat a default folder is found by. The library keeps a folder at its root for the product pictures (catalog_product), the category pictures (catalog_category), the pages and blocks (cms), the blog (blog) and the theme (theme), each made when its module is turned on — find one with filter=key = "catalog_product", not by its name, which may change. Set by the server and kept through a rename or a move; absent on a folder you made. A default folder may be deleted: it is made again the next time its module is set up.
MediaFolderCreate
display_nameThe folder's name, as the media library shows it.
parent_idThe folder this one sits in; empty at the root. Settable on create and immutable afterwards — moving a folder is :move.
MediaFolderUpdate
display_nameThe folder's name, as the media library shows it.
Media
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
filenameThe name the file is stored under, made unique on upload. This is the one that appears in the URL.
original_filenameThe name the file arrived with, kept so a person can recognise their own upload.
mime_typeThe stored file's media type, detected on upload. filter=mime_type:"image/" is how you ask for pictures by family.
storage_pathWhere the bytes live in the platform's object store. Internal bookkeeping — fetch the file through its media URL, not through this.
file_sizeSize of the stored original, in bytes. A transformed variant is smaller and is not counted here.
is_imageWhether the file is an image, and therefore whether the w/h/crop/q/fmt transforms apply to it.
widthWidth of the stored original in pixels. Meaningful only when is_image is true.
heightHeight of the stored original in pixels. Meaningful only when is_image is true.
alt_textThe alternative text rendered with the picture. It is what a screen reader announces, so it belongs on every image that carries meaning.
titleA human label for the file in the media library.
folder_idThe media_folders resource this file sits in. filter=folder_id = null is the library's root.
MediaCreate
alt_textThe alternative text rendered with the picture. It is what a screen reader announces, so it belongs on every image that carries meaning.
titleA human label for the file in the media library.
folder_idThe media_folders resource this file sits in. filter=folder_id = null is the library's root.
MediaUpdate
alt_textThe alternative text rendered with the picture. It is what a screen reader announces, so it belongs on every image that carries meaning.
titleA human label for the file in the media library.
folder_idThe media_folders resource this file sits in. filter=folder_id = null is the library's root.
MenuItem
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
menu_idThe menu this item belongs to. Fixed by the URL.
titleThe text of the link, as the menu renders it.
typeWhat the item points at, which decides which of the fields below is read: TEXT (a heading with no link), URL, CMS_PAGE, RAW_HTML, BLOG, BLOG_CATEGORY, BLOG_AUTHOR, BLOG_POST, BLOG_TAG, FEEDBACK_FORM, CATALOG (the product catalog's listing) or CATALOG_CATEGORY.
urlThe address a URL item points at. Anything else — a page, a category, a post — is linked by its id below, so the URL follows the resource when its slug or its view changes.
cms_page_idThe page a CMS_PAGE item points at.
blog_category_idThe category a BLOG_CATEGORY item points at.
blog_author_idThe author a BLOG_AUTHOR item points at.
blog_post_idThe post a BLOG_POST item points at.
blog_tag_idThe tag a BLOG_TAG item points at.
catalog_category_idThe product category a CATALOG_CATEGORY item points at. The link follows the category's own address in each view, and the item is left out of a view where the category is switched off or hidden.
parent_idThe item this one nests under; empty at the top level. Settable on create and immutable afterwards — re-nesting is :move.
pathThe item's position in the menu tree, as the ids of its ancestors and its own. Server-generated: sending it is an error rather than a no-op.
sort_orderThe item's position among its siblings, and the order the menu renders in. Changed with :move; sending it is an error.
levelHow deep the item sits, counting the top level as 0. Server-generated; sending it is an error.
htmlThe markup a RAW_HTML item renders instead of a link — a language switcher, a badge, a call button.
targetThe link target, when the item should not open in place: _blank for a new tab.
enabledWhether the item is rendered in the menu.
show_subcategoriesFor a BLOG, BLOG_CATEGORY, CATALOG or CATALOG_CATEGORY item: whether the site's header lists the categories (the whole tree, or the item's category's subtree) under the item as a dropdown. Absent counts as on; ignored on other types.
MenuItemCreate
titleThe text of the link, as the menu renders it.
typeWhat the item points at, which decides which of the fields below is read: TEXT (a heading with no link), URL, CMS_PAGE, RAW_HTML, BLOG, BLOG_CATEGORY, BLOG_AUTHOR, BLOG_POST, BLOG_TAG, FEEDBACK_FORM, CATALOG (the product catalog's listing) or CATALOG_CATEGORY.
urlThe address a URL item points at. Anything else — a page, a category, a post — is linked by its id below, so the URL follows the resource when its slug or its view changes.
cms_page_idThe page a CMS_PAGE item points at.
blog_category_idThe category a BLOG_CATEGORY item points at.
blog_author_idThe author a BLOG_AUTHOR item points at.
blog_post_idThe post a BLOG_POST item points at.
blog_tag_idThe tag a BLOG_TAG item points at.
catalog_category_idThe product category a CATALOG_CATEGORY item points at. The link follows the category's own address in each view, and the item is left out of a view where the category is switched off or hidden.
parent_idThe item this one nests under; empty at the top level. Settable on create and immutable afterwards — re-nesting is :move.
pathThe item's position in the menu tree, as the ids of its ancestors and its own. Server-generated: sending it is an error rather than a no-op.
sort_orderThe item's position among its siblings, and the order the menu renders in. Changed with :move; sending it is an error.
levelHow deep the item sits, counting the top level as 0. Server-generated; sending it is an error.
htmlThe markup a RAW_HTML item renders instead of a link — a language switcher, a badge, a call button.
targetThe link target, when the item should not open in place: _blank for a new tab.
enabledWhether the item is rendered in the menu.
show_subcategoriesFor a BLOG, BLOG_CATEGORY, CATALOG or CATALOG_CATEGORY item: whether the site's header lists the categories (the whole tree, or the item's category's subtree) under the item as a dropdown. Absent counts as on; ignored on other types.
MenuItemUpdate
titleThe text of the link, as the menu renders it.
typeWhat the item points at, which decides which of the fields below is read: TEXT (a heading with no link), URL, CMS_PAGE, RAW_HTML, BLOG, BLOG_CATEGORY, BLOG_AUTHOR, BLOG_POST, BLOG_TAG, FEEDBACK_FORM, CATALOG (the product catalog's listing) or CATALOG_CATEGORY.
urlThe address a URL item points at. Anything else — a page, a category, a post — is linked by its id below, so the URL follows the resource when its slug or its view changes.
cms_page_idThe page a CMS_PAGE item points at.
blog_category_idThe category a BLOG_CATEGORY item points at.
blog_author_idThe author a BLOG_AUTHOR item points at.
blog_post_idThe post a BLOG_POST item points at.
blog_tag_idThe tag a BLOG_TAG item points at.
catalog_category_idThe product category a CATALOG_CATEGORY item points at. The link follows the category's own address in each view, and the item is left out of a view where the category is switched off or hidden.
htmlThe markup a RAW_HTML item renders instead of a link — a language switcher, a badge, a call button.
targetThe link target, when the item should not open in place: _blank for a new tab.
enabledWhether the item is rendered in the menu.
show_subcategoriesFor a BLOG, BLOG_CATEGORY, CATALOG or CATALOG_CATEGORY item: whether the site's header lists the categories (the whole tree, or the item's category's subtree) under the item as a dropdown. Absent counts as on; ignored on other types.
MenuItemView
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
menu_item_idThe menu item this overlay belongs to. Fixed by the URL.
view_idThe view this overlay speaks for. Fixed by the URL.
overriddenThe names of the fields this view actually overrides. A field not listed here falls back to the item.
titleThis view's text for the link.
urlThis view's address for a URL item.
htmlThis view's markup for a RAW_HTML item.
enabledWhether this view renders the item at all — the one way to hide a single link in one view.
MenuItemViewCreate
overriddenThe names of the fields this view actually overrides. A field not listed here falls back to the item.
titleThis view's text for the link.
urlThis view's address for a URL item.
htmlThis view's markup for a RAW_HTML item.
enabledWhether this view renders the item at all — the one way to hide a single link in one view.
MenuItemViewUpdate
overriddenThe names of the fields this view actually overrides. A field not listed here falls back to the item.
titleThis view's text for the link.
urlThis view's address for a URL item.
htmlThis view's markup for a RAW_HTML item.
enabledWhether this view renders the item at all — the one way to hide a single link in one view.
Menu
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe menu's label in the admin. It is not rendered on the site — a menu is its items.
codeThe handle a theme refers to this menu by — which is how a theme picks its main menu without knowing an id.
is_activeWhether the menu is rendered.
MenuCreate
display_nameThe menu's label in the admin. It is not rendered on the site — a menu is its items.
codeThe handle a theme refers to this menu by — which is how a theme picks its main menu without knowing an id.
is_activeWhether the menu is rendered.
MenuUpdate
display_nameThe menu's label in the admin. It is not rendered on the site — a menu is its items.
codeThe handle a theme refers to this menu by — which is how a theme picks its main menu without knowing an id.
is_activeWhether the menu is rendered.
Project
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
account_idThe account this project belongs to. The URL already fixes it, so a write cannot move a project between accounts.
display_nameThe project's label, unique inside its account.
is_activeWhether the project is in use. Nothing filters on it for you — it is the tenant's own flag for retiring a project without deleting it.
icon_colorThe colour, #rrggbb, that the admin tints this project's badge with when it lists several projects side by side. Leave it unset and the admin derives a stable colour from the id — set it only to override that choice, and send null to go back to the derived one.
ProjectCreate
display_nameThe project's label, unique inside its account.
is_activeWhether the project is in use. Nothing filters on it for you — it is the tenant's own flag for retiring a project without deleting it.
icon_colorThe colour, #rrggbb, that the admin tints this project's badge with when it lists several projects side by side. Leave it unset and the admin derives a stable colour from the id — set it only to override that choice, and send null to go back to the derived one.
ProjectUpdate
display_nameThe project's label, unique inside its account.
is_activeWhether the project is in use. Nothing filters on it for you — it is the tenant's own flag for retiring a project without deleting it.
icon_colorThe colour, #rrggbb, that the admin tints this project's badge with when it lists several projects side by side. Leave it unset and the admin derives a stable colour from the id — set it only to override that choice, and send null to go back to the derived one.
ShippingTableRate
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
table_idThe id of the shipping table this is a rate of — the {shipping_table} of name. Fixed by the URL.
country_codeThe country the rate is for, its ISO 3166-1 alpha-2 code — either case on a write, stored upper case. Absent — any country. A region, a city and a postal code need it.
regionThe region of the country the rate is for: where the country has a list of regions, the code of one of them exactly (CO, address_formats/{country}); elsewhere any text, at most 200 characters. Absent — any region.
cityThe city the rate is for, at most 200 characters, stored trimmed and compared without regard to case. Absent — any city.
postal_code_fromThe postal code the rate is for, stored upper case, at most 20 letters, digits, spaces and hyphens: alone, one code — or, ending in *, every code that begins so (SW1A*); with postal_code_to, the first of a range, letters then digits (80000). Absent — any postal code.
postal_code_toThe last code of the range from postal_code_from, both included: letters then digits, the letters of postal_code_from, its number not below it (81699).
subtotal_fromThe least subtotal the rate is for, included — a google.type.Money in the table's currency_code, whose currency_code may be left out on a write. Absent — no bound.
subtotal_toThe subtotal the rate is below — excluded, so the next rate starts where this one ends: as subtotal_from, above it. Absent — no bound.
weight_fromThe least weight of the cart the rate is for, included, in the website's unit (general.catalog.weight_unit): a decimal with at most three digits after the point, written as a string. Absent — no bound.
weight_toThe weight the rate is below — excluded: as weight_from, above it. Absent — no bound.
quantity_fromThe least number of units the rate is for, included. Absent — no bound.
quantity_toThe most units the rate is for, included — not below quantity_from. Absent — no bound.
shipping_class_idThe id of the website's shipping class (catalog_shipping_classes) whose products the rate prices. Absent — the products no rate of their own class prices. Deleting the class deletes its rates.
base_amountWhat the rate charges whatever the cart, as a google.type.Money in the table's currency_code — whose currency_code may be left out on a write. Zero when omitted.
percentThe share of the subtotal the rate adds, as a decimal string: from 0 to 100 with at most two digits after the point ("12.5"). "0" when omitted.
per_item_amountWhat the rate adds for every unit, as base_amount. Zero when omitted.
per_weight_amountWhat the rate adds for every unit of weight above weight_threshold, as base_amount. Zero when omitted.
weight_thresholdThe weight per_weight_amount is not charged for, as weight_from. Only with a per_weight_amount above zero. Absent — none.
weight_roundingHow the weight per_weight_amount is charged for is rounded to a whole unit: NONE, UP or DOWN. Other than NONE only with a per_weight_amount above zero. NONE when omitted.
delivery_days_minThe fewest days the delivery takes, from 0 to 365 — not above delivery_days_max. Absent — unsaid.
delivery_days_maxThe most days the delivery takes, from 0 to 365. Absent — unsaid.
ShippingTableRateCreate
country_codeThe country the rate is for, its ISO 3166-1 alpha-2 code — either case on a write, stored upper case. Absent — any country. A region, a city and a postal code need it.
regionThe region of the country the rate is for: where the country has a list of regions, the code of one of them exactly (CO, address_formats/{country}); elsewhere any text, at most 200 characters. Absent — any region.
cityThe city the rate is for, at most 200 characters, stored trimmed and compared without regard to case. Absent — any city.
postal_code_fromThe postal code the rate is for, stored upper case, at most 20 letters, digits, spaces and hyphens: alone, one code — or, ending in *, every code that begins so (SW1A*); with postal_code_to, the first of a range, letters then digits (80000). Absent — any postal code.
postal_code_toThe last code of the range from postal_code_from, both included: letters then digits, the letters of postal_code_from, its number not below it (81699).
subtotal_fromThe least subtotal the rate is for, included — a google.type.Money in the table's currency_code, whose currency_code may be left out on a write. Absent — no bound.
subtotal_toThe subtotal the rate is below — excluded, so the next rate starts where this one ends: as subtotal_from, above it. Absent — no bound.
weight_fromThe least weight of the cart the rate is for, included, in the website's unit (general.catalog.weight_unit): a decimal with at most three digits after the point, written as a string. Absent — no bound.
weight_toThe weight the rate is below — excluded: as weight_from, above it. Absent — no bound.
quantity_fromThe least number of units the rate is for, included. Absent — no bound.
quantity_toThe most units the rate is for, included — not below quantity_from. Absent — no bound.
shipping_class_idThe id of the website's shipping class (catalog_shipping_classes) whose products the rate prices. Absent — the products no rate of their own class prices. Deleting the class deletes its rates.
base_amountWhat the rate charges whatever the cart, as a google.type.Money in the table's currency_code — whose currency_code may be left out on a write. Zero when omitted.
percentThe share of the subtotal the rate adds, as a decimal string: from 0 to 100 with at most two digits after the point ("12.5"). "0" when omitted.
per_item_amountWhat the rate adds for every unit, as base_amount. Zero when omitted.
per_weight_amountWhat the rate adds for every unit of weight above weight_threshold, as base_amount. Zero when omitted.
weight_thresholdThe weight per_weight_amount is not charged for, as weight_from. Only with a per_weight_amount above zero. Absent — none.
weight_roundingHow the weight per_weight_amount is charged for is rounded to a whole unit: NONE, UP or DOWN. Other than NONE only with a per_weight_amount above zero. NONE when omitted.
delivery_days_minThe fewest days the delivery takes, from 0 to 365 — not above delivery_days_max. Absent — unsaid.
delivery_days_maxThe most days the delivery takes, from 0 to 365. Absent — unsaid.
ShippingTableRateUpdate
country_codeThe country the rate is for, its ISO 3166-1 alpha-2 code — either case on a write, stored upper case. Absent — any country. A region, a city and a postal code need it.
regionThe region of the country the rate is for: where the country has a list of regions, the code of one of them exactly (CO, address_formats/{country}); elsewhere any text, at most 200 characters. Absent — any region.
cityThe city the rate is for, at most 200 characters, stored trimmed and compared without regard to case. Absent — any city.
postal_code_fromThe postal code the rate is for, stored upper case, at most 20 letters, digits, spaces and hyphens: alone, one code — or, ending in *, every code that begins so (SW1A*); with postal_code_to, the first of a range, letters then digits (80000). Absent — any postal code.
postal_code_toThe last code of the range from postal_code_from, both included: letters then digits, the letters of postal_code_from, its number not below it (81699).
subtotal_fromThe least subtotal the rate is for, included — a google.type.Money in the table's currency_code, whose currency_code may be left out on a write. Absent — no bound.
subtotal_toThe subtotal the rate is below — excluded, so the next rate starts where this one ends: as subtotal_from, above it. Absent — no bound.
weight_fromThe least weight of the cart the rate is for, included, in the website's unit (general.catalog.weight_unit): a decimal with at most three digits after the point, written as a string. Absent — no bound.
weight_toThe weight the rate is below — excluded: as weight_from, above it. Absent — no bound.
quantity_fromThe least number of units the rate is for, included. Absent — no bound.
quantity_toThe most units the rate is for, included — not below quantity_from. Absent — no bound.
shipping_class_idThe id of the website's shipping class (catalog_shipping_classes) whose products the rate prices. Absent — the products no rate of their own class prices. Deleting the class deletes its rates.
base_amountWhat the rate charges whatever the cart, as a google.type.Money in the table's currency_code — whose currency_code may be left out on a write. Zero when omitted.
percentThe share of the subtotal the rate adds, as a decimal string: from 0 to 100 with at most two digits after the point ("12.5"). "0" when omitted.
per_item_amountWhat the rate adds for every unit, as base_amount. Zero when omitted.
per_weight_amountWhat the rate adds for every unit of weight above weight_threshold, as base_amount. Zero when omitted.
weight_thresholdThe weight per_weight_amount is not charged for, as weight_from. Only with a per_weight_amount above zero. Absent — none.
weight_roundingHow the weight per_weight_amount is charged for is rounded to a whole unit: NONE, UP or DOWN. Other than NONE only with a per_weight_amount above zero. NONE when omitted.
delivery_days_minThe fewest days the delivery takes, from 0 to 365 — not above delivery_days_max. Absent — unsaid.
delivery_days_maxThe most days the delivery takes, from 0 to 365. Absent — unsaid.
ShippingTable
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe way to ship as the customer reads it at the checkout — «Standard», «Express». 1 to 100 characters after the trim, stored trimmed.
display_name_labelsThe name in other languages: an object from a locale — the language of one of the website's views — to the name in it, at most 100 characters. A customer shopping on a view whose language has none reads display_name. null under update_mask clears them.
descriptionPlain text the customer reads under the name — «Delivered in 3–5 business days». At most 500 characters after the trim. Absent while none; null under update_mask, or a blank text, clears it.
description_labelsThe description in other languages, as display_name_labels: locale → text, at most 500 characters each. null under update_mask clears them.
currency_codeThe one currency the table's amounts are in — its min_amount, max_amount and the amounts of its rates — and the only one it is offered in: a cart in another currency is not offered the table. The website's base currency (general.catalog.base_currency) or one of its catalog_currencies. Changing it while the table has rates answers FAILED_PRECONDITION SHIPPING_TABLE_AMOUNTS.
is_activeWhether the table is offered at all. Switched off, it keeps its rates and is offered nowhere. true when omitted.
positionWhere the table's offer stands among the others: the smaller first. 0 when omitted; negative numbers are fine.
view_idsThe ids of the website's views the table is offered on, each once, at most 100. Empty — the default — means every view.
customer_group_idsThe ids of the website's customer groups the table is for, each once, at most 100. Empty — the default — means every visitor, guests included.
min_amountThe least the table charges, as a google.type.Money in its currency_code — whose currency_code may be left out on a write: a lower price of its rates is raised to it. Never below zero, never above max_amount. Absent — no floor; null under update_mask clears it.
max_amountThe most the table charges, as min_amount: a higher price of its rates is lowered to it. Absent — no ceiling; null under update_mask clears it.
class_combinationHow the table prices a cart whose products are of several shipping classes: each class with rates of its own is priced apart, the rest together, and the table's price is their SUM, the HIGHEST or the LOWEST of them. SUM when omitted.
weight_basisWhat a unit of a product weighs for the rates: its ACTUAL weight, its VOLUMETRIC one — length × width × height ÷ dimensional_divisor — or the GREATER or the LESSER of the two. ACTUAL when omitted.
dimensional_divisorWhat a unit's length × width × height is divided by for its volumetric weight, in the website's units (general.catalog.dimension_unit, general.catalog.weight_unit) — 5000 for centimetres and kilograms, 139 for inches and pounds. A decimal above 0 with at most three digits after the point, written as a string. Required while weight_basis is not ACTUAL; null under update_mask clears it.
rate_countHow many rates the table has.
ShippingTableCreate
display_nameThe way to ship as the customer reads it at the checkout — «Standard», «Express». 1 to 100 characters after the trim, stored trimmed.
currency_codeThe one currency the table's amounts are in — its min_amount, max_amount and the amounts of its rates — and the only one it is offered in: a cart in another currency is not offered the table. The website's base currency (general.catalog.base_currency) or one of its catalog_currencies. Changing it while the table has rates answers FAILED_PRECONDITION SHIPPING_TABLE_AMOUNTS.
display_name_labelsThe name in other languages: an object from a locale — the language of one of the website's views — to the name in it, at most 100 characters. A customer shopping on a view whose language has none reads display_name. null under update_mask clears them.
descriptionPlain text the customer reads under the name — «Delivered in 3–5 business days». At most 500 characters after the trim. Absent while none; null under update_mask, or a blank text, clears it.
description_labelsThe description in other languages, as display_name_labels: locale → text, at most 500 characters each. null under update_mask clears them.
is_activeWhether the table is offered at all. Switched off, it keeps its rates and is offered nowhere. true when omitted.
positionWhere the table's offer stands among the others: the smaller first. 0 when omitted; negative numbers are fine.
view_idsThe ids of the website's views the table is offered on, each once, at most 100. Empty — the default — means every view.
customer_group_idsThe ids of the website's customer groups the table is for, each once, at most 100. Empty — the default — means every visitor, guests included.
min_amountThe least the table charges, as a google.type.Money in its currency_code — whose currency_code may be left out on a write: a lower price of its rates is raised to it. Never below zero, never above max_amount. Absent — no floor; null under update_mask clears it.
max_amountThe most the table charges, as min_amount: a higher price of its rates is lowered to it. Absent — no ceiling; null under update_mask clears it.
class_combinationHow the table prices a cart whose products are of several shipping classes: each class with rates of its own is priced apart, the rest together, and the table's price is their SUM, the HIGHEST or the LOWEST of them. SUM when omitted.
weight_basisWhat a unit of a product weighs for the rates: its ACTUAL weight, its VOLUMETRIC one — length × width × height ÷ dimensional_divisor — or the GREATER or the LESSER of the two. ACTUAL when omitted.
dimensional_divisorWhat a unit's length × width × height is divided by for its volumetric weight, in the website's units (general.catalog.dimension_unit, general.catalog.weight_unit) — 5000 for centimetres and kilograms, 139 for inches and pounds. A decimal above 0 with at most three digits after the point, written as a string. Required while weight_basis is not ACTUAL; null under update_mask clears it.
ShippingTableUpdate
display_nameThe way to ship as the customer reads it at the checkout — «Standard», «Express». 1 to 100 characters after the trim, stored trimmed.
display_name_labelsThe name in other languages: an object from a locale — the language of one of the website's views — to the name in it, at most 100 characters. A customer shopping on a view whose language has none reads display_name. null under update_mask clears them.
descriptionPlain text the customer reads under the name — «Delivered in 3–5 business days». At most 500 characters after the trim. Absent while none; null under update_mask, or a blank text, clears it.
description_labelsThe description in other languages, as display_name_labels: locale → text, at most 500 characters each. null under update_mask clears them.
currency_codeThe one currency the table's amounts are in — its min_amount, max_amount and the amounts of its rates — and the only one it is offered in: a cart in another currency is not offered the table. The website's base currency (general.catalog.base_currency) or one of its catalog_currencies. Changing it while the table has rates answers FAILED_PRECONDITION SHIPPING_TABLE_AMOUNTS.
is_activeWhether the table is offered at all. Switched off, it keeps its rates and is offered nowhere. true when omitted.
positionWhere the table's offer stands among the others: the smaller first. 0 when omitted; negative numbers are fine.
view_idsThe ids of the website's views the table is offered on, each once, at most 100. Empty — the default — means every view.
customer_group_idsThe ids of the website's customer groups the table is for, each once, at most 100. Empty — the default — means every visitor, guests included.
min_amountThe least the table charges, as a google.type.Money in its currency_code — whose currency_code may be left out on a write: a lower price of its rates is raised to it. Never below zero, never above max_amount. Absent — no floor; null under update_mask clears it.
max_amountThe most the table charges, as min_amount: a higher price of its rates is lowered to it. Absent — no ceiling; null under update_mask clears it.
class_combinationHow the table prices a cart whose products are of several shipping classes: each class with rates of its own is priced apart, the rest together, and the table's price is their SUM, the HIGHEST or the LOWEST of them. SUM when omitted.
weight_basisWhat a unit of a product weighs for the rates: its ACTUAL weight, its VOLUMETRIC one — length × width × height ÷ dimensional_divisor — or the GREATER or the LESSER of the two. ACTUAL when omitted.
dimensional_divisorWhat a unit's length × width × height is divided by for its volumetric weight, in the website's units (general.catalog.dimension_unit, general.catalog.weight_unit) — 5000 for centimetres and kilograms, 139 for inches and pounds. A decimal above 0 with at most three digits after the point, written as a string. Required while weight_basis is not ACTUAL; null under update_mask clears it.
Theme
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe theme's label in the admin.
codeThe theme's handle, unique on the website.
stylesThe CSS custom properties the site renders with, as a flat object keyed by variable name. Each token of theme_tokens takes a string of its kind — a colour, a length, a font stack, a number or a shadow — and a value of another kind is refused under styles.<token>; a token left out renders the engine's default. A variable this API has never heard of survives a round trip untouched, so a client may set one the renderer gained after this document was generated.
main_menu_idThe menus resource rendered as the site's main navigation.
footer_block_idThe cms_blocks resource rendered in the footer.
logo_media_idThe media resource used as the site's logo. Naming a new one while the website's media library is off is refused (MODULE_DISABLED).
favicon_media_idThe media resource used as the site's favicon. Naming a new one while the website's media library is off is refused (MODULE_DISABLED).
custom_cssA stylesheet appended after the theme's own, for the rules the variables cannot express.
ThemeCreate
display_nameThe theme's label in the admin.
codeThe theme's handle, unique on the website.
stylesThe CSS custom properties the site renders with, as a flat object keyed by variable name. Each token of theme_tokens takes a string of its kind — a colour, a length, a font stack, a number or a shadow — and a value of another kind is refused under styles.<token>; a token left out renders the engine's default. A variable this API has never heard of survives a round trip untouched, so a client may set one the renderer gained after this document was generated.
main_menu_idThe menus resource rendered as the site's main navigation.
footer_block_idThe cms_blocks resource rendered in the footer.
logo_media_idThe media resource used as the site's logo. Naming a new one while the website's media library is off is refused (MODULE_DISABLED).
favicon_media_idThe media resource used as the site's favicon. Naming a new one while the website's media library is off is refused (MODULE_DISABLED).
custom_cssA stylesheet appended after the theme's own, for the rules the variables cannot express.
ThemeUpdate
display_nameThe theme's label in the admin.
codeThe theme's handle, unique on the website.
stylesThe CSS custom properties the site renders with, as a flat object keyed by variable name. Each token of theme_tokens takes a string of its kind — a colour, a length, a font stack, a number or a shadow — and a value of another kind is refused under styles.<token>; a token left out renders the engine's default. A variable this API has never heard of survives a round trip untouched, so a client may set one the renderer gained after this document was generated.
main_menu_idThe menus resource rendered as the site's main navigation.
footer_block_idThe cms_blocks resource rendered in the footer.
logo_media_idThe media resource used as the site's logo. Naming a new one while the website's media library is off is refused (MODULE_DISABLED).
favicon_media_idThe media resource used as the site's favicon. Naming a new one while the website's media library is off is refused (MODULE_DISABLED).
custom_cssA stylesheet appended after the theme's own, for the rules the variables cannot express.
ThemeToken
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
variableThe CSS custom property — the key the token takes in a theme's styles, and the id.
kindWhat its value is: COLOR (#rrggbb, rgb(), hsl(), a CSS colour name), LENGTH (16px, 1.25rem, 60%, 0, calc()), FONT_FAMILY (names comma-separated, a name with spaces in quotes), NUMBER (without a unit) or SHADOW (none, or lengths and a colour). Every kind also takes var(--another-token).
roleWhat the token paints on a site, in English.
default_valueWhat the site renders while its theme does not set the token.
requiredWhether a theme is expected to set the token itself: the default is a neutral placeholder, not a brand's colour. A theme without it still saves; :check notes it (MISSING_TOKEN).
contrast_pairsThe backgrounds this colour is read on and the least contrast WCAG 2.2 AA asks of each — [{"background": "--background-color", "minimum_ratio": 4.5}]: 4.5 for text, 3 for what is not text. What :check weighs; empty for a token that is no foreground.
ThemeTokenUpdate
Profile
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
emailThe address the account signs in with. Changing it changes the sign-in identity.
firstnameThe user's given name, as the admin greets them.
lastnameThe user's family name, shown beside the given one.
interface_localeThe language the admin interface is shown to this user in. It has nothing to do with the languages the websites are published in — those are views.
is_activeWhether the account is usable. It is not settable here — closing an account is profile:delete_account.
ProfileCreate
emailThe address the account signs in with. Changing it changes the sign-in identity.
firstnameThe user's given name, as the admin greets them.
lastnameThe user's family name, shown beside the given one.
interface_localeThe language the admin interface is shown to this user in. It has nothing to do with the languages the websites are published in — those are views.
passwordA new password. Write-only: it is applied and never echoed back, and setting it needs current_password in the same body.
current_passwordThe password in force right now, proving the session belongs to whoever is changing it. Write-only, and only meaningful alongside password.
ProfileUpdate
emailThe address the account signs in with. Changing it changes the sign-in identity.
firstnameThe user's given name, as the admin greets them.
lastnameThe user's family name, shown beside the given one.
interface_localeThe language the admin interface is shown to this user in. It has nothing to do with the languages the websites are published in — those are views.
passwordA new password. Write-only: it is applied and never echoed back, and setting it needs current_password in the same body.
current_passwordThe password in force right now, proving the session belongs to whoever is changing it. Write-only, and only meaningful alongside password.
View
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
codeThe view's handle, unique on the website. Content overlays and view-scoped settings are addressed by the view, so this is the name a person uses for it.
display_nameThe view's name as visitors read it in the site's switcher of views. Where the views differ by language, the language's own name ("Deutsch"), not a translation of it.
is_activeWhether the view is served. Switching it off takes the view off the site without deleting anything written for it.
localeThe language this view renders in, as a BCP 47 tag. It picks the interface translations and the date and number formats.
path_prefixThe first URL segment that routes to this view (/de/...). Empty means this view answers at the bare root — at most one view per website may.
sort_orderThe view's position in the site's switcher of views, lowest first. 0 unless you set it; clearing it puts it back to 0.
fallback_view_idThe view to fall back to when this one has nothing of its own to show for a page.
ViewCreate
codeThe view's handle, unique on the website. Content overlays and view-scoped settings are addressed by the view, so this is the name a person uses for it.
is_activeWhether the view is served. Switching it off takes the view off the site without deleting anything written for it.
display_nameThe view's name as visitors read it in the site's switcher of views. Where the views differ by language, the language's own name ("Deutsch"), not a translation of it.
localeThe language this view renders in, as a BCP 47 tag. It picks the interface translations and the date and number formats.
path_prefixThe first URL segment that routes to this view (/de/...). Empty means this view answers at the bare root — at most one view per website may.
sort_orderThe view's position in the site's switcher of views, lowest first. 0 unless you set it; clearing it puts it back to 0.
fallback_view_idThe view to fall back to when this one has nothing of its own to show for a page.
ViewUpdate
codeThe view's handle, unique on the website. Content overlays and view-scoped settings are addressed by the view, so this is the name a person uses for it.
display_nameThe view's name as visitors read it in the site's switcher of views. Where the views differ by language, the language's own name ("Deutsch"), not a translation of it.
is_activeWhether the view is served. Switching it off takes the view off the site without deleting anything written for it.
localeThe language this view renders in, as a BCP 47 tag. It picks the interface translations and the date and number formats.
path_prefixThe first URL segment that routes to this view (/de/...). Empty means this view answers at the bare root — at most one view per website may.
sort_orderThe view's position in the site's switcher of views, lowest first. 0 unless you set it; clearing it puts it back to 0.
fallback_view_idThe view to fall back to when this one has nothing of its own to show for a page.
SettingDescriptor
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
pathThe dotted path this entry describes — the id a setting is written under.
typeWhat the setting's value holds: STRING, BOOL, INT (a whole number), NUMBER, ENUM (a string out of enum_values), STRING_ARRAY or JSON (any value). A write of another type is refused.
enum_valuesThe values an ENUM setting takes; empty for every other type.
default_valueWhat the website uses while the setting has never been written; null for a setting the platform sets when the website is made.
display_nameWhat the setting is called, in English.
descriptionWhat the setting does, in English: one or two sentences, the values it takes among them.
view_overridableWhether a view may hold a value of its own for this setting. ?filter=view_overridable = true is the list a per-view settings screen should offer.
moduleThe id of the website module the setting belongs to (websites/{website}/modules), empty for a setting of the platform's own. A module's settings do something only while the module is on.
assistant_classWhat the account's AI assistant may do with the setting: WRITE changes it at once, CONFIRM waits for its user to confirm the change, FORBIDDEN never changes it.
secretWhether the value is a credential. The AI assistant reads "[secret]" in its place.
SettingDescriptorUpdate
ViewSetting
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
pathThe setting's dotted path, which is also its id. Only a path whose setting_descriptors entry says view_overridable may be written here.
view_idThe view this override belongs to. Fixed by the URL.
valueThe value this view uses instead of the website-wide one, of the type the path's setting_descriptors entry states; a value of another type is refused. The AI assistant reads "[secret]" in place of a secret one.
ViewSettingCreate
valueThe value this view uses instead of the website-wide one, of the type the path's setting_descriptors entry states; a value of another type is refused. The AI assistant reads "[secret]" in place of a secret one.
ViewSettingUpdate
valueThe value this view uses instead of the website-wide one, of the type the path's setting_descriptors entry states; a value of another type is refused. The AI assistant reads "[secret]" in place of a secret one.
WebsiteModule
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
display_nameThe module's name as a person reads it, for a card on a modules page or a hint that names what has to be turned on first.
descriptionWhat the module gives a website, in a sentence or two — the full text a module's panel on a modules page shows; summary is its one-line form.
summaryThe module in one line — what a tile on a modules page shows under its name: at most 40 characters, without a full stop at the end. description is the longer text.
orderThe module's place in the catalogue — the order a List answers in and a modules page draws in. Smaller comes first.
categoryThe group the module belongs to, for a modules page that draws its cards in groups: CONTENT (what the website shows), COMMERCE (what it sells and how a visitor buys it), AUDIENCE (who reads it and how they reach you), MARKETING (how it is found and measured) or SECURITY (what the browser may do on it). The groups come in that order; inside one, order decides. A category your client does not recognise is a group of its own.
enabledWhether the module is on for this website — the one field an Update writes. Turning a module on while a module it requires is off is FAILED_PRECONDITION naming that module. Turning one off while modules that require it, directly or through another, are on is FAILED_PRECONDITION naming every module that requires it and is on, nearest dependants last. Turning one off also drops every view's own override of it.
requiresThe ids of the modules this one works on top of: it can be on only while every one of them is. Empty — and still present — for a module that needs nothing else.
data_stateWhether this website holds the module's data — its content and its records in the website's menus, settings and email templates: DATA_PRESENT or DATA_ABSENT. Turning a module on creates its data when there is none; turning it off keeps it, and :purge_data deletes it.
demo_data_availableWhether the platform ships a demo set for the module — sample records :install_demo_data adds to the data of the module while it is on. Calling it again duplicates nothing. The same for every website.
WebsiteModuleCreate
enabledWhether the module is on for this website — the one field an Update writes. Turning a module on while a module it requires is off is FAILED_PRECONDITION naming that module. Turning one off while modules that require it, directly or through another, are on is FAILED_PRECONDITION naming every module that requires it and is on, nearest dependants last. Turning one off also drops every view's own override of it.
WebsiteModuleUpdate
enabledWhether the module is on for this website — the one field an Update writes. Turning a module on while a module it requires is off is FAILED_PRECONDITION naming that module. Turning one off while modules that require it, directly or through another, are on is FAILED_PRECONDITION naming every module that requires it and is on, nearest dependants last. Turning one off also drops every view's own override of it.
Website
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
parentThe resource name of the project this website belongs to, accounts/{account}/projects/{project} — the link upward that the website's own one-segment name no longer carries.
project_idThe last segment of parent. Settable on create, immutable afterwards: a website does not move between projects.
codeThe website's short slug, and the label the platform hostname is built from. Immutable — changing it would move a live site's URL.
display_nameThe website's label in the admin. Free text, and unrelated to the hostname — that is code.
is_activeWhether the website is live. The list on this surface returns only active websites — an inactive one is still reachable by name, it is just not browsable.
provisioning_statusHow far provisioning has got: PENDING, READY or FAILED. It is here so a list can show a site that is still coming up — to wait for one, poll the Operation that Create named (§17).
typeThe kind of site this was provisioned as, which chose its seeded content. Set at signup and not changed afterwards.
icon_colorThe colour, #rrggbb, that the admin tints this website's badge with when it lists several sites side by side. Leave it unset and the admin derives a stable colour from the id — set it only to override that choice, and send null to go back to the derived one.
WebsiteCreate
display_nameThe website's label in the admin. Free text, and unrelated to the hostname — that is code.
is_activeWhether the website is live. The list on this surface returns only active websites — an inactive one is still reachable by name, it is just not browsable.
project_idThe last segment of parent. Settable on create, immutable afterwards: a website does not move between projects.
codeThe website's short slug, and the label the platform hostname is built from. Immutable — changing it would move a live site's URL.
icon_colorThe colour, #rrggbb, that the admin tints this website's badge with when it lists several sites side by side. Leave it unset and the admin derives a stable colour from the id — set it only to override that choice, and send null to go back to the derived one.
default_localeThe language the website is created in, as a locale code. Required on Create: it becomes the general.locale.default_language setting, which the default view and the seeded content follow. Not echoed — read that setting afterwards.
localesMore languages to install on Create, as locale codes. Each one other than default_locale gets a localized view with its own seeded content. Optional, and not echoed — the views are what records them.
WebsiteUpdate
display_nameThe website's label in the admin. Free text, and unrelated to the hostname — that is code.
is_activeWhether the website is live. The list on this surface returns only active websites — an inactive one is still reachable by name, it is just not browsable.
icon_colorThe colour, #rrggbb, that the admin tints this website's badge with when it lists several sites side by side. Leave it unset and the admin derives a stable colour from the id — set it only to override that choice, and send null to go back to the derived one.
default_localeThe language the website is created in, as a locale code. Required on Create: it becomes the general.locale.default_language setting, which the default view and the seeded content follow. Not echoed — read that setting afterwards.
localesMore languages to install on Create, as locale codes. Each one other than default_locale gets a localized view with its own seeded content. Optional, and not echoed — the views are what records them.
Setting
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
pathThe setting's dotted path, which is also its id — general.info.site_name, appearance.theme.default_theme. Which paths exist is decided by the platform and listed in setting_descriptors, so a write cannot invent one and cannot move one.
view_idEmpty on this collection: these are the website-wide values. A value overridden for one view is a resource of websites/{website}/views/{view}/settings, and carries that view there.
valueThe setting's value — a string, a number, a boolean, an object or an array: the type its setting_descriptors entry states. A value of another type, or outside the entry's enum_values, is refused. The AI assistant reads "[secret]" in place of a secret one.
SettingCreate
valueThe setting's value — a string, a number, a boolean, an object or an array: the type its setting_descriptors entry states. A value of another type, or outside the entry's enum_values, is refused. The AI assistant reads "[secret]" in place of a secret one.
SettingUpdate
valueThe setting's value — a string, a number, a boolean, an object or an array: the type its setting_descriptors entry states. A value of another type, or outside the entry's enum_values, is refused. The AI assistant reads "[secret]" in place of a secret one.
WishlistItem
nameThe item's resource name: websites/{website}/wishlists/{wishlist}/items/{product_id} — an item is named by its product, which a list holds once.
idThe item's id within its list: its product's id.
product_idThe product of the website's catalog saved into the list.
create_timeWhen the product was saved into this list (RFC 3339, UTC).
display_nameThe product's name as the catalog has it now, when the list is read — not when the product was saved.
skuThe product's SKU as the catalog shows it now: its only variant's. Absent on a product of more than one variant — the visitor saved the product, not one of its variants.
Wishlist
nameThe resource name (§5) — the identity of this resource, and the path that addresses it: websites/{website}/cms_pages/{cms_page}. It is the handle to store, not a human label.
idThe last segment of name on its own, for a client that needs to build a child URL. Unique inside its parent, never across the platform.
create_timeWhen the resource was created (RFC 3339, UTC).
update_timeWhen the resource last changed (RFC 3339, UTC).
etagVersion of the persisted state. Send it back in If-Match on Update or Delete and the write is rejected with ABORTED if anyone else changed the resource meanwhile (§14).
customer_idThe website's customer whose list it is; absent on a guest's. customer_id = "…" lists every list of one customer: their default list and up to 10 named ones.
display_nameThe name the customer gave a named list, 1 to 60 characters, never twice among one customer's lists. Empty on the default list — a guest's one list, and the first of a customer's — which the storefront calls «Favorites».
is_defaultWhether this is its visitor's default list: the one without a name. A guest's list always is; a customer has one.
item_countHow many products the list holds, at most 250 — read them with the list's items.
expire_timeWhen a guest's list is deleted unless its visitor changes it before: 90 days after its last change. Absent on a customer's list, which lives as long as the customer.