Saltar al contenido principal

UpdateStoreInput

Input for updateStore. Only provided fields are updated: an omitted field is left unchanged, and null clears it. null is not valid for metadata and iban.

input UpdateStoreInput {
id: ID!
name: String
address: AddressInput
phone: String
email: String
website: String
metadata: [KeyValueInput!]
blocked: Boolean
iban: String
vopRequestId: ID
ibanCertDocumentId: ID
scaChallengeId: ID
}

Fields​

UpdateStoreInput.id ● ID! non-null scalar​

ID of the store to update.

UpdateStoreInput.name ● String scalar​

Store name.

UpdateStoreInput.address ● AddressInput input​

Postal address of the store. Replaces the whole address.

UpdateStoreInput.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 store address, else of the account business. A number that is still not valid fails with the error Invalid phone number format.

UpdateStoreInput.email ● String scalar​

Contact email. Must be a valid email address.

UpdateStoreInput.website ● String scalar​

Website URL. Must be a valid URL.

UpdateStoreInput.metadata ● [KeyValueInput!] list input​

Custom key/value metadata. Replaces all metadata of the store; an empty list removes it. A key has at most 50 characters, a value at most 500.

UpdateStoreInput.blocked ● Boolean scalar​

Ignored: the value is not saved.

UpdateStoreInput.iban ● String scalar​

New IBAN that receives the settlements of the payments of this store, without spaces and in capital letters. Needs exactly one proof that the IBAN belongs to the account, vopRequestId or ibanCertDocumentId, and a strong customer authentication of the signed-in user, scaChallengeId, so only a dashboard user can set it. Fails with the error IBAN_PROOF_INVALID when the proof does not prove this IBAN, and with SCA_REQUIRED until the authentication is valid. null or an empty value fails: MONEI support removes the IBAN of a store.

UpdateStoreInput.vopRequestId ● ID scalar​

Proof of iban: the id of a MATCH of startStoreBankAccountVerification for this IBAN, started in the last 30 minutes, while the account's legal name is confirmed by the business registry. Only with iban.

UpdateStoreInput.ibanCertDocumentId ● ID scalar​

Proof of iban: the ID of an approved STORE_IBAN_CERT document of the account for this IBAN, issued in the last 3 months, while the account's legal name is confirmed by the business registry. Only with iban.

UpdateStoreInput.scaChallengeId ● ID scalar​

The strong customer authentication of iban (type STORE_IBAN), from confirmSca. The dashboard sends it. Valid once.

Member Of​

updateStore mutation