Update store
Update store properties scopes:
- admin:accounts
- write:accounts
Authorizations
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
where the access_token is JSON Web Tokens (JWT).
Path Parameters
Body
The payout destination associated with this store.
A store with a payout destination will get all its properties (address, phone_number, etc.) set by validated data, so you will not be allowed to set a custom address when a payout destination is set.
The organization_number must match the organization number of the payout destination.
These exceptions do not apply to the payout destination's sub-units, where a different sub-unit organization_number is allowed and the details will be set by what is available in the public registers.
Response
Store
The payout destination associated with this store.
A store with a payout destination will get all its properties (address, phone_number, etc.) set by validated data, so you will not be allowed to set a custom address when a payout destination is set.
The organization_number must match the organization number of the payout destination.
These exceptions do not apply to the payout destination's sub-units, where a different sub-unit organization_number is allowed and the details will be set by what is available in the public registers.
What a PENDING or ERROR store is waiting on. Not set for other statuses. New values may be added.
WAITING_FOR_PAYOUT_DESTINATION: the payout destination is missing or notACTIVE.ENROLLMENT_NOT_STARTED: the payout destination isACTIVEand the enrollment is not sent yet.WAITING_FOR_ENROLLMENT: the enrollment is sent and there is no answer yet.ENROLLMENT_REJECTED: the enrollment was rejected. The store has statusERROR.