Packages (0.1)
Download OpenAPI specification:Download
Team Store Fulfillemnt: team-store-fulfillment@newstore.com URL: https://apidocs.newstore.io
Use this API to manage document configuration for in stores functionality for your business.
Get documents to print configuration
Get documents to print configuration for a tenant.
Authorizations:
newStoreAccessToken
Responses
Response samples
- 200
Content type
application/json
{- "9c996bd4-4d2b-4fcf-b590-5e80969186c4": {
- "\*": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}
]
}, - "default": {
- "in_store_pickup": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}
], - "\*": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}, - {
- "document_type": "shipping_label",
- "number_of_copies": 1,
- "printer_type": "label_printer"
}
]
}
}
Create documents to print configuration
Use this endpoint to configure the documents you want to print, in your store.
Authorizations:
newStoreAccessToken
Request Body schema: application/json
additional property | object (storeConfig) The | ||||||||||
|
Responses
Request samples
- Payload
Content type
application/json
{- "9c996bd4-4d2b-4fcf-b590-5e80969186c4": {
- "\*": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}
]
}, - "default": {
- "in_store_pickup": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}
], - "\*": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}, - {
- "document_type": "shipping_label",
- "number_of_copies": 1,
- "printer_type": "label_printer"
}
]
}
}
Response samples
- 201
- 400
Content type
application/json
{- "9c996bd4-4d2b-4fcf-b590-5e80969186c4": {
- "\*": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}
]
}, - "default": {
- "in_store_pickup": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}
], - "\*": [
- {
- "document_type": "invoice",
- "number_of_copies": 1,
- "printer_type": "document_printer"
}, - {
- "document_type": "shipping_label",
- "number_of_copies": 1,
- "printer_type": "label_printer"
}
]
}
}