Skip to main content

CreateStoreInput

Input for createStore.

input CreateStoreInput {
name: String
address: AddressInput
phone: String
email: String
website: String
metadata: [KeyValueInput!]
blocked: Boolean
}

Fields​

CreateStoreInput.name ● String scalar​

Store name.

CreateStoreInput.address ● AddressInput input​

Postal address of the store.

CreateStoreInput.phone ● String scalar​

Contact phone number. Saved in E.164 format, like +34666777888. A number without a country code takes the country of address, else of the account business. A number that is still not valid fails with the error Invalid phone number format.

CreateStoreInput.email ● String scalar​

Contact email. Must be a valid email address.

CreateStoreInput.website ● String scalar​

Website URL, with http or https.

CreateStoreInput.metadata ● [KeyValueInput!] list input​

Custom key/value metadata. A key has at most 50 characters, a value at most 500.

CreateStoreInput.blocked ● Boolean scalar​

Ignored: the value is not saved.

Member Of​

createStore mutation