# Stores

## A01 - Get shop information

 - [GET /api/account](https://developer.mirakl.com/content/product/mcm/rest/seller/openapi3/stores/a01.md): Call Frequency

Recommended usage: Once per day
Maximum usage: Once per day

## A02 - Update shop information

 - [PUT /api/account](https://developer.mirakl.com/content/product/mcm/rest/seller/openapi3/stores/a02.md): Description

Depending on the operator's configuration, some fields might not be editable.


Call Frequency

Recommended usage: At each information update
Maximum usage: Once per day

## A21 - Get shop statistics

 - [GET /api/account/statistics](https://developer.mirakl.com/content/product/mcm/rest/seller/openapi3/stores/a21.md): Call Frequency

Recommended usage: Once per day
Maximum usage: Once per day

## S30 - List shop's documents

 - [GET /api/shops/documents](https://developer.mirakl.com/content/product/mcm/rest/seller/openapi3/stores/s30.md): Description

You must specify at least one of the following parameters: shop_ids, updated_since


Call Frequency

Recommended usage: At each display of a page that includes documents from a store (for example: during the KYC process)
Maximum usage: At each display of a page that includes documents from a store (for example: during the KYC process)

## S32 - Upload business documents to associate with a shop

 - [POST /api/shops/documents](https://developer.mirakl.com/content/product/mcm/rest/seller/openapi3/stores/s32.md): Description

Document filenames must be distinct and there can be only one file per document type.Only documents of the following types are supported: csv, doc, docx, gif, html, jpeg, latex, mp4, odp, odc, odg, ods, odt, pdf, png, pps, ppsx, ppt, pptx, quicktime, rtf, text, tiff, xls, xlsx, xml, zipYou can upload a maximum of 50 business documents for each shop. These documents are not order related documents.


Call Frequency

Recommended usage: At each business document upload to a shop
Maximum usage: 50 business documents per call

## S31 - Download documents for one or multiple shops

 - [GET /api/shops/documents/download](https://developer.mirakl.com/content/product/mcm/rest/seller/openapi3/stores/s31.md): Description

          It is mandatory to specify either the shop_ids or the document_ids.  If a list of document identifiers is specified only these documents are downloaded.          If more than one document id is specified, the documents will be wrapped in a ZIP archive      If only one document id is specified the document will not be zipped            If no document identifiers is specified, all the shop documents will be downloaded.    Use a list of shop document type codes to retrieve specific types from your shop.    In this case, the output of the API will always be a ZIP archive even if there is only one document to retrieve.  When documents are retrieved, they're wrapped into a ZIP archive except when only one document id is specified. The tree structure of this archive is as follow:
documents-timestamp.zip
|__ shop_id/
|   |__ image.png
|   |__ image(1).png
|   |__ foo.txt
Returns a 404 if at least one document id or one document type code is invalid


Call Frequency

Recommended usage: After each S30 call, when you want to download documents from a store
Maximum usage: After each S30 call, when you want to download documents from a store

## S33 - Delete a shop document

 - [DELETE /api/shops/documents/{document_id}](https://developer.mirakl.com/content/product/mcm/rest/seller/openapi3/stores/s33.md): Call Frequency

Recommended usage: At each document deletion from one store
Maximum usage: At each document deletion from one store

