If you have any questions regarding the API we are happy to help you via our API support at api@c1st.com.
Please be specific and include the following information:
The API is forward-compatible. We take the freedom to add optional attributes to endpoints without notice. In this case, you should be aware that a PUT request replaces an entire object. i.e. not specifying a field on an object will null the field. To update a single field on e.g. a product you must first GET the product and then PUT the entire product with the new updated field. See example below.
We may introduce breaking changes to endpoints. In such case, you will be contacted via the email provided at the API token setup page with a transition period.
Send the header
Authorization: Bearer <token>
<token>
can be found at https://app.deltateq.com/en -> Settings -> API -> API users.
We recommend creating a new user for each integration.
API requests are subject to potential throttling to limit excess load on our servers.
Throttling of requests is based on a simple bucket resource model (similar to the leaking bucket algorithm, except the bucket fills up instead of leaking). You are free to make API requests until the resource bucket is depleted, after which requests will return an HTTP 429 error.
The current bucket size is 80 and the filling (regen) rate is 8 requests per second. These limitations are subject change but are included within the HTTP response for throttled requests:
{
"error": "API Resource limit reached.",
"bucket_size:" "80",
"bucket_regen": "8"
}
We urge you to use the API in a fair manner, and not introducing unnecessary load. Constantly retrieving all data or regularly updating the entire product catalog via bulk operations are examples of what we would consider unfair API usage. Instead, use hooks and only update changed products. Customers 1st monitors API usage to identity excessive API usage. We will try to get in contact on excessive use, but we may be forced to reduce limits until the matter has been resolved.
A list of settings configs can be found here
A common operation you might want to do is fetch all the products from Customers 1st that where changed since the last time you "checked". The way to do this is to use the updated_after
query parameter on the products search endpoint. So lets say for example today's date is the 20. of December and you want every product that was changed since the 19. of December. You would make a request like so:
curl \
-H 'Content-Type: application/json' \
https://app.deltateq.com/api/products?updated_after=2023-12-19 00:00:00
This would then return a list of products updated after that date. If the amount of products changed are greater than 50 you would still have to paginate through the list using the paginationStart
query paramater like usual.
To achive the same for stocktransaction, the request is almost the same as the example above. Here you use the search stockstransactions endpoint with the query paramenter committed_after
. So to get all stock transactions after the 19. of December 2023 you would make a request like so:
curl \
-H 'Content-Type: application/json' \
https://app.deltateq.com/api/stocktransactions?committed_after=2023-12-19 00:00:00
Pagination can be done via GET parameters paginationStart
and paginationPageLength
. The pagination is based on element count.
For example, if you want to access the third page of a pagination with 10 items per page use:
?pagiationStart=20&paginationPageLength=10
For all endpoints paginationPageLength
is limited to 250. We are currently working on implementing this limit.
The Customers 1st API supports REST Hooks. This allows you to subscribe to events in our system and get notified via a callback url immediately.
To listen for events,
POST /api/hooks
with JSON object
{
"event": "<event>",
"url": "<url>"
}
This call returns a unique id for that subscription that is needed to manage the subscription.
When the event triggers in our system, we will POST to the specified url
with a relevant payload, for instance the product that was created in case of product.created
.
Events can be:
inventorycount.created
inventorycount.updated
inventorycount.deleted
product.created
product.updated
product.deleted
supplier.updated
supplier.deleted
supplier.created
pospayment.created
posbalance.created
customer.created
customer.updated
customer.deleted
shoppinglistorder.created
shoppinglistorder.deleted
shoppinglistitem.created
shoppinglistitem.updated
shoppinglistitem.deleted
customertags.created
customertags.updated
customertags.deleted
customerarticle.created
customerarticle.updated
customerarticle.deleted
taskmaterial.created
taskmaterial.updated
taskmaterial.deleted
task.created
task.updated
task.deleted
taskcomment.created
taskcomment.updated
taskcomment.deleted
servicesubscription.created
servicesubscription.deleted
stocktransaction.committed
giftcard.created
giftcard.updated
giftcard.deleted
loyaltybalance.updated
To unsubscribe
DELETE /api/hooks/{id}
You can also unsubscribe by returning status code 410 (Gone) when your callback url is notified.
REST hooks can also be specified via the app under Settings -> API.
If the request returns 408 (Request Timeout), 429 (Too Many Requests) or 5xx (Server Error) the server will retry a maximum of 3 times, with an increasing interval of 30, 60, and finally 120 minutes, after which the hook will be considered failed.
When using the API to make changes to your store, for instance create products, these interactions will trigger events like product.created
just like using the app would.
In some cases this behaviour is not desired since it can create infinite loops between services, for instance stock sync between Customers 1st and e-conomic.
To avoid this, interact with the API with the following header
X-Suppress-Hooks:
The content of the header doesn't matter and is ignored.
All resthooks from Customers 1st are signed using a store's signing secret. The signature is set in a header called X-C1st-Webhook-Signature
. The secret can be changed under api settings or set using the api by changing the store config resthook_signing_secret
To validate a resthook, you need to calculate the HMAC of the request payload using the signing secret.
Here is an example in Laravel/PHP
public function validateResthook(\Illuminate\Http\Request $request)
{
$signature = $request->header('X-C1st-Webhook-Signature');
$secret = "resthook_super_secret_1337";
$payload = $request->getContent();
$calculated_hmac = base64_encode(hash_hmac('sha256', $payload, $secret, true));
if ($signature != $calculated_hmac) {
abort(401, 'Webhook failed signature check');
}
}
{- "warning": "TrialEnded",
- "active": true,
- "invoiceDueDate": "string",
- "trialEnds": "string",
- "activeModules": {
- "statistics": true,
- "pos": true,
- "products": true,
- "masterdata": true,
- "economic": true,
- "dinero": true,
- "woocommerce": true,
- "shopify": true,
- "smartweb": true,
- "mobilepay": true,
- "servicewidget": true,
- "inventorycount": true,
- "tickets": true,
- "loyalty": true,
- "shopping": true,
- "partner_sharing": true,
- "rackbeat": true,
- "recurring_payments": true,
- "serviceplans": true,
- "custompaymenttypes": true
}, - "limits": {
- "monthlytasks": {
- "max": 0,
- "current": 0,
- "showwarning": true
}, - "maxusers": {
- "max": 0,
- "current": 0,
- "showwarning": true
}, - "cashregisters": {
- "max": 0,
- "current": 0,
- "showwarning": true
}, - "loyaltymembers": {
- "max": 0,
- "current": 0,
- "showwarning": true
}, - "products": {
- "max": 0,
- "current": 0,
- "showwarning": true
}
}, - "subscription": {
- "active": true,
- "startDate": "string",
- "plan": "empty"
}
}
paginationStart | integer Default: 0 Example: paginationStart=100 |
paginationPageLength | integer <= 200 Default: 20 Example: paginationPageLength=20 |
object (Bundle) |
{- "content": {
- "title": "string",
- "amount": 0,
- "startdate": "string",
- "enddate": "string",
- "filters": [
- {
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1
}
]
}
}
{- "content": {
- "id": 1,
- "title": "string",
- "amount": 0,
- "startdate": "string",
- "enddate": "string",
- "filters": [
- {
- "id": 1,
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}
paginationStart | integer Default: 0 Example: paginationStart=100 |
paginationPageLength | integer <= 200 Default: 20 Example: paginationPageLength=20 |
{- "content": [
- {
- "id": 1,
- "title": "string",
- "amount": 0,
- "startdate": "string",
- "enddate": "string",
- "filters": [
- {
- "id": 1,
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "count": 0,
- "hasMore": true
}
{- "content": {
- "id": 1,
- "title": "string",
- "amount": 0,
- "startdate": "string",
- "enddate": "string",
- "filters": [
- {
- "id": 1,
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}
id required | integer |
object (Bundle) |
{- "content": {
- "title": "string",
- "amount": 0,
- "startdate": "string",
- "enddate": "string",
- "filters": [
- {
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1
}
]
}
}
{- "content": {
- "id": 1,
- "title": "string",
- "amount": 0,
- "startdate": "string",
- "enddate": "string",
- "filters": [
- {
- "id": 1,
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}
{- "content": {
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1
}
}
{- "content": {
- "id": 1,
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}
{- "content": {
- "id": 1,
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}
id required | integer |
object (BundleFilter) |
{- "content": {
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1
}
}
{- "content": {
- "id": 1,
- "bundleid": 0,
- "attribute": "productno",
- "value": [
- "string"
], - "products": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "quantity": 1,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
}
serieno | string Example: serieno=123abc |
paginationPageLength | integer <= 200 |
customerid | integer Example: customerid=31241 |
freetext | string Example: freetext=Bike Tyson |
allowdeleted | boolean Example: allowdeleted=true |
scope | string Enum: "sharecustomerarticles" "sharecustomers" |
updated_after | string Example: updated_after=2020-01-01 00:00:00 Get all customer articles updated after the given date |
{- "content": [
- {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
], - "count": 0,
- "hasMore": true
}
object (CustomerArticle) | |
object (ServiceSubscription) | |
removesubscription | boolean or null |
{- "content": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "createsubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "removesubscription": true
}
{- "content": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
}
content | Array of integers Array of customer article ids |
{- "content": [
- 0
]
}
{- "content": [
- {
- "id": 0,
- "success": true,
- "message": "string"
}
]
}
id required | integer >= 0 Id to the relevant resource |
newCustomerId required | integer The ID of the new customer to transfer the customer article to |
transferServiceNotifications | integer Default: 0 If not 0, the service notifications will be transferred to the new customer |
{- "newCustomerId": 1,
- "transferServiceNotifications": 0
}
{- "content": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
}
id required | integer >= 0 Id to the relevant resource |
allowdeleted | boolean Example: allowdeleted=true or 1 |
withdraftsubscription | boolean Example: withdraftsubscription=true or 1 |
{- "content": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
}
id required | integer >= 0 Id to the relevant resource |
object (CustomerArticle) | |
object (ServiceSubscription) | |
removesubscription | boolean or null |
{- "content": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "createsubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "removesubscription": true
}
{- "content": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
}
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
}
freetext | string Search string |
paginationStart | number Default: 0 Start of pagination |
paginationPageLength | number Default: 1000 Pagination page length |
{- "content": [
- {
- "title": "string",
- "id": 0,
- "handle": "string"
}
], - "count": 0,
- "hasMore": true
}
title required | string The title of the tag |
id | integer or null The id of the tag |
handle | string or null Unique handle for the produttag. Will be set automatically if not set. This value cannot be changed once set. |
{- "title": "string",
- "id": 0,
- "handle": "string"
}
{- "content": [
- {
- "title": "string",
- "id": 0,
- "handle": "string"
}
], - "count": 0,
- "hasMore": true
}
tagId required | integer The tag ID |
title required | string The title of the tag |
id | integer or null The id of the tag |
handle | string or null Unique handle for the produttag. Will be set automatically if not set. This value cannot be changed once set. |
{- "title": "string",
- "id": 0,
- "handle": "string"
}
{- "content": [
- {
- "title": "string",
- "id": 0,
- "handle": "string"
}
], - "count": 0,
- "hasMore": true
}
count | boolean Deprecated Default: true Example: count=true Return the count or not. More slow, consider using thasMore for pagination |
filter | string Deprecated Filter expression. See https://restdocs.e-conomic.com/#filtering. |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of products) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of products to fetch in one page. |
sortOrder | integer Default: 1 Enum: -1 1 Example: sortOrder=1 Sorting order. If |
customerno | string |
sortField | string Example: sortField=id Sort by |
allowMarketing | boolean Example: allowMarketing=true Filter for marketing consented customers only. |
name | string Freetext search for customer name |
string Freetext search for customer email | |
phoneno | string Search for customer phone number |
ean | string Search for customers EAN |
cvr | string Search for customers CVR |
tags | string Customer tags as a comma-separated string |
freetext | string Freetext search for customer, this searches in most customer properties like name, address, phone, email etc |
partOfLoyaltyClub | boolean Filter for customers who are in loyalty club |
updated_after | string Example: updated_after=2020-01-01 00:00:00 Get all customers updated after the given date |
{- "content": [
- {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
], - "count": 0,
- "hasMore": true
}
object (Customer) The representation of a customer. | |
synctoeconomic | boolean or null Whether or not it should be synced to economic, default is false |
{- "content": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "synctoeconomic": true
}
{- "content": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
}
{- "content": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
}
customerId required | integer The customer ID |
object (Customer) The representation of a customer. | |
synctoeconomic | boolean or null Whether or not it should be synced to economic, default is false |
{- "content": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "synctoeconomic": true
}
{- "content": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
}
{- "content": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
}
{- "content": {
- "product": {
- "customfield1": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}, - "customfield2": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}, - "customfield3": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}, - "customfield4": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}
}, - "customerarticle": {
- "customfield1": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}, - "customfield2": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}, - "customfield3": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}, - "customfield4": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}
}
}
}
endpoint required | string^(product|customerarticle)$ |
attribute required | string^customfield[1-4]$ |
object (CustomField) |
{- "content": {
- "title": "Gear",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}
}
{- "content": {
- "title": "Gear",
- "endpoint": "product",
- "attribute": "customfield1",
- "required": 1,
- "activated": true,
- "show_on_variant": true
}
}
{- "content": {
- "label": "Bestillingsvarer",
- "handle": "string"
}
}
{- "content": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}
}
Search for giftcards
freetext | string The free text that is used to search in name, type, giftcardno, phone etc. |
fromdate | string Example: fromdate=2020-01-01 00:00:00 date |
todate | string Example: todate=2020-01-01 23:59:59 date |
giftcardid | integer filter on id |
customerid | integer filter on customerid |
giftcardno | string filter on id |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of item) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of items to fetch in one page. |
sortOrder | integer Default: 1 Enum: -1 1 Example: sortOrder=1 Sorting order. If |
sortField | string Example: sortField=id Sort by |
{- "content": [
- {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}
], - "count": 0,
- "hasMore": true
}
Create a giftcard
object (Giftcard) A giftcard |
Create a giftcard with amount of 200
{- "content": {
- "giftcardno": 1234,
- "amount": 200
}
}
Add a giftcard with amount of 200
{- "content": {
- "id": 27660,
- "giftcardno": "1234",
- "amount": 200,
- "amountspent": 0,
- "createddate": "2022-01-20 09:20:34",
- "expirationdate": "2025-01-20 09:20:34",
- "paymentid": null,
- "type": "giftcard",
- "vat": null,
- "productid": null,
- "productno": null,
- "expired": false,
- "store": {
- "id": 198
}, - "customer": null
}
}
Update a giftcard
giftcardId required | integer The giftcard ID |
object (Giftcard) A giftcard |
Set the amount spent on a giftcard to 80 and leave the balance at 120
{- "content": {
- "amountspent": 80
}
}
{- "content": {
- "id": 27660,
- "giftcardno": "1234",
- "amount": 200,
- "amountspent": 80,
- "createddate": "2022-01-20 09:20:34",
- "expirationdate": "2025-01-20 09:20:34",
- "paymentid": null,
- "type": "giftcard",
- "vat": null,
- "productid": null,
- "productno": null,
- "expired": false,
- "store": {
- "id": 198
}
}
}
{- "content": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}
}
Get all transactions for a given giftcard
giftcardid required | integer The giftcard id |
{- "content": [
- {
- "id": 0,
- "storeid": 0,
- "userid": 0,
- "giftcardid": 0,
- "paymentid": 0,
- "pospaymentmaterialid": 0,
- "amountchange": 0,
- "currentamount": 0,
- "created_at": "string",
- "integrationconfigid": 0,
- "note": "string"
}
], - "hasMore": true
}
{- "content": [
- {
- "id": 123,
- "storeid": 0,
- "resthookid": 1,
- "job_uuid": "9df6e604-ebe1-46a2-8f73-fb3e38ed7e22",
- "event": "product.updated",
- "payload": "string",
- "status": "successful",
- "attempts": 3,
- "last_failed_date": "string",
- "succeeded_date": "string",
- "last_http_status": "string",
- "last_failed_reason": "string",
- "initiated_date": "2019-01-01 12:00:00"
}
], - "count": 0,
- "hasMore": true
}
{- "content": [
- {
- "id": 123,
- "event": "product.created",
- "receiver": "zapier",
- "active": 1,
- "created": "2019-01-01 12:00:00",
- "lastactivity": "2019-01-01 12:00:00",
- "last_updated": "2019-01-01 12:00:00"
}
], - "count": 0
}
Subscribe to an event like product.created with a callback url to get pinged when the event triggers.
event | string The event being listened for. |
url | string The event being listened for. |
receiver | string or null An identifier to distinguish different receivers. |
active | integer Enum: 0 1 Whether or not the hook is enabled. |
{- "event": "product.created",
- "receiver": "zapier",
- "active": 1
}
{- "id": 1
}
Get the subscription details for given an id.
hookId required | integer |
{- "id": 123,
- "event": "product.created",
- "receiver": "zapier",
- "active": 1,
- "created": "2019-01-01 12:00:00",
- "lastactivity": "2019-01-01 12:00:00",
- "last_updated": "2019-01-01 12:00:00"
}
Update the subscription for an event given an id.
hookId required | integer |
event | string The event being listened for. |
url | string The event being listened for. |
receiver | string or null An identifier to distinguish different receivers. |
active | integer Enum: 0 1 Whether or not the hook is enabled. |
{- "event": "product.created",
- "receiver": "zapier",
- "active": 1
}
{- "updated": 1
}
List the current inventory level for products
cursor | string Examples:
Cursor for pagination. If parameter is set, paginationStart will be ignored. Only allowed for default sorting or based on id. |
updated_after | string Example: updated_after=1991-03-10 22:00:00 Get items updated after the date time |
product_id | integer |
product_no | string |
exclude_zero | boolean Default: false |
per_page | integer [ 0 .. 1000 ] Default: 50 |
{- "content": [
- {
- "id": 0,
- "storeid": 0,
- "costprice": 0,
- "inventory": 0,
- "reserved": 0,
- "available": 0,
- "tracked": true,
- "productid": 0,
- "product": {
- "id": 0,
- "title": "string",
- "barcode": "string",
- "productno": "string",
- "serieno": "string"
}, - "updated_at": "string",
- "created_at": "string"
}
], - "meta": {
- "next_cursor": "string",
- "prev_cursor": "string",
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0,
- "links": [
- {
- "url": "string",
- "label": "string",
- "active": true
}
]
}, - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}
}
Update inventory level for a product
object |
{- "content": {
- "product": {
- "id": 0
}, - "inventory": 0,
- "costprice": 0
}
}
{- "content": {
- "id": 0,
- "storeid": 0,
- "costprice": 0,
- "inventory": 0,
- "reserved": 0,
- "available": 0,
- "tracked": true,
- "productid": 0,
- "product": {
- "id": 0,
- "title": "string",
- "barcode": "string",
- "productno": "string",
- "serieno": "string"
}, - "updated_at": "string",
- "created_at": "string"
}
}
id required | integer >= 0 Id to the relevant resource |
paginationStart | number Default: 0 Start of pagination |
paginationPageLength | number Default: 1000 Pagination page length |
{- "content": [
- {
- "id": 0,
- "amount": 2,
- "expires_at": "string",
- "created_at": "string",
- "pospaymentid": 0,
- "pospaymentmaterialid": 0,
- "customerid": 0,
- "storeid": 0,
- "userid": 0,
- "reason": "string",
- "loyalty_member_id": 0
}
], - "balance": 0,
- "count": 0,
- "hasMore": true,
- "lastenrolledbystoreid": 0,
- "ispartofloyaltyclub": true
}
id required | integer >= 0 Id to the relevant resource |
object (CreateLoyaltyTransactionRequest) The hook information expected when subscribing to an event. |
{- "content": {
- "adjustment": -44,
- "reason": "Manuel adjustment"
}
}
{- "content": {
- "id": 0,
- "amount": 2,
- "expires_at": "string",
- "created_at": "string",
- "pospaymentid": 0,
- "pospaymentmaterialid": 0,
- "customerid": 0,
- "storeid": 0,
- "userid": 0,
- "reason": "string",
- "loyalty_member_id": 0
}
}
userid | integer The user ID |
updated_after | string Get alle notification updated after a certain date |
created_after | string Get alle notification created after a certain date |
{- "content": [
- {
- "id": "07d7dec1-ce02-4e51-811b-d0844b24d37c",
- "type": "App\\\\Notifications\\\\NewProduct",
- "notifiable_id": 0,
- "data": "string",
- "read_at": "2022-01-01 12:00:00",
- "created_at": "string",
- "updated_at": "string"
}
], - "count": 0,
- "hasMore": true
}
Get inventory levels for partner stores matched on product number. If a product has serial products the endpoint will return the inventory sum of all those serial products
productid required | integer The product ID |
{- "content": [
- {
- "storeid": 0,
- "inventory": {
- "productno": "string",
- "stockno": 0,
- "reservedstock": 0,
- "availablestock": 0
}
}
], - "totalstock": 0,
- "totalreserved": 0,
- "totalavailable": 0
}
{- "content": [
- {
- "type": "products",
- "read": [
- {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
], - "write": [
- {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
]
}
]
}
title | string The name of a payment type |
accountno | string or null The account number associated with the payment type |
currency | string or null The currency associated with the payment type |
exchangerate | number or null The exchange rate of the given currency (if any) to the store's main currency. |
cash | integer Default: 0 Whether or not the payment type is physical cash |
{- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0
}
{- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
id required | integer |
allowDeleted | integer Includes deleted payment types in the response when not 0 |
{- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
id required | integer The PaymentType ID |
allowDeleted | integer Allows for settings deleted payment types when not 0 |
title | string The name of a payment type |
accountno | string or null The account number associated with the payment type |
currency | string or null The currency associated with the payment type |
exchangerate | number or null The exchange rate of the given currency (if any) to the store's main currency. |
cash | integer Default: 0 Whether or not the payment type is physical cash |
{- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0
}
{- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
paymentId required | integer >= 0 payment id |
getreceipts | boolean Whether or not to include receipts |
[- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
]
paymentId required | integer >= 0 payment id |
id | integer or null |
title | string The title of the payment. E.g. 'cash' or 'Dankort' |
paymenttypeid | integer or null reference to user created payment type. |
amount | number <double> The amount of the payment type. |
cash | integer Returns whether or not the payment type is cash-based. |
bamdesk_messageid | integer or null If provider = 'bamdesk'. This will be the id for the messageid for Worldline card-terminal. |
accountno | string or null The account where the payment has been posted. If not applicable, it will be null. |
currency | string or null 3-digit currency code if the payment is in foreign currency. |
exchangerate | number or null <double> The exchange rate if the payment is in foreign currency |
receipts | Array of strings or null Index for where it's stored. |
error_message | string or null If an error occured during the payment, this will contain the error message, if supported by the provider. |
(PaymentProvider (string or null)) or (string or null) | |
status | string Default: "captured" Enum: "initiated" "reserved" "cancelled" "captured" |
[- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
]
[- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
]
Can only change the status of a payment if it is not captured
paymentId required | integer >= 0 payment id |
id | integer or null |
title | string The title of the payment. E.g. 'cash' or 'Dankort' |
paymenttypeid | integer or null reference to user created payment type. |
amount | number <double> The amount of the payment type. |
cash | integer Returns whether or not the payment type is cash-based. |
bamdesk_messageid | integer or null If provider = 'bamdesk'. This will be the id for the messageid for Worldline card-terminal. |
accountno | string or null The account where the payment has been posted. If not applicable, it will be null. |
currency | string or null 3-digit currency code if the payment is in foreign currency. |
exchangerate | number or null <double> The exchange rate if the payment is in foreign currency |
receipts | Array of strings or null Index for where it's stored. |
error_message | string or null If an error occured during the payment, this will contain the error message, if supported by the provider. |
(PaymentProvider (string or null)) or (string or null) | |
status | string Default: "captured" Enum: "initiated" "reserved" "cancelled" "captured" |
{- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
{- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
Get balances. Balances are readonly and can only be created via Customers 1st app
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of item) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of items to fetch in one page. |
sortOrder | integer Default: 1 Enum: -1 1 Example: sortOrder=1 Sorting order. If |
sortField | string Example: sortField=id Sort by |
userId | integer Example: userId=1 Id of the cashier |
cashRegisterId | integer Example: cashRegisterId=2 Id of the cash register |
toDate | string Example: toDate=2020-01-01 23:59:59 Get all payments before the given date |
fromDate | string Example: fromDate=2020-01-01 23:59:59 Get all payments after the given date |
{- "content": [
- {
- "id": 0,
- "date": "2019-01-01 12:00:00",
- "enddate": "2019-01-01 12:00:00",
- "startdate": "2019-01-01 12:00:00",
- "numpayments": 5,
- "cashstart": 123.45,
- "cashcounted": 123.45,
- "expense": 123.54,
- "cashrevenue": 123.45,
- "cashtobank": 123.45,
- "cashdifference": 123.45,
- "totalrevenue": 123.45,
- "cashregistertitle": "Register 1",
- "cashregisterid": 0,
- "lastdinerosync": "2019-01-01 12:00:00",
- "lasteconomicsync": "2019-01-01 12:00:00",
- "userid": 0,
- "paymenttypes": [
- {
- "paymenttypeid": 1,
- "title": "Cash",
- "amount": 123.45,
- "cash": true,
- "bamdesk_messageid": "75",
- "accountno": "1234",
- "currency": "DKK",
- "giftcardtype": "1234",
- "provider": "string"
}
], - "giftcardissued": "100",
- "giftcardused": "-100",
- "returnsum": -100,
- "economicinvoicesum": "",
- "totalsenttobookkeeping": 123.45,
- "totalvat": 123.45,
- "totalvatbypercentage": [
- {
- "percentage": 25,
- "amount": 420
}
], - "totalcostprice": 123.45,
- "totalcostpricestockonly": 123.45,
- "note": "This is a note",
- "customerpaymentsum": 0,
- "stockvalue": 10,
- "secondhandprofitsum": 0,
- "secondhandcostpricesum": 0,
- "secondhandcostpricesumstockonly": 0,
- "secondhandreturnsum": 0,
- "secondhandreturnsumstockonly": 0,
- "secondhandinvoicesum": 0,
- "totalstocktransactionsrest": 0,
- "totalstocktransactionsinventorycount": 0,
- "totalstocktransactionsrestincludingnegative": 0,
- "totalstocktransactionsinventorycountincludingnegative": 0,
- "startpaymentno": 255,
- "endpaymentno": 256
}
], - "count": 0,
- "hasMore": true
}
paymentId required | integer >= 0 payment id |
title | string The title of the article sold |
price | number <double> Price of the article. By default price includes VAT but can be changed in the store config "prices_include_vat". |
costprice | number or null <double> The cost price of the article sold |
quantity | number Number of articles sold. |
vat | number <double> [ 0 .. 100 ] VAT percentage. |
vatmode | string (VATMode) Enum: "normal" "second_hand" < |
giftcardno | string or null Deprecated Provide this if you want to issue a giftcard with the payment. The amount on the giftcard will be the value of price. |
usedGiftcardId | integer or null Deprecated Provide this if you want use a giftcard as means of payment. The value of price will be deducted from the giftcard balance |
object (Giftcard) A giftcard | |
giftcardid | integer or null Id of issued giftcard |
object (Giftcard) A giftcard | |
customerarticleid | integer or null Id of the attached customerarticle |
productno | string or null Deprecated For legacy support, instead refer to product.productno. This is only used for voucher and deposit |
productid | integer or null < The the id of the product you want to sell. Stock will be deducted from the product after succesful payment. Deleted products are allowed. This is useful for return sales and payments of tickets with deleted products. |
object (Product) The representation of a product. | |
taskmaterialid | integer or null Relate the payment article to a taskmaterial. Use this to keep track of the payment status of task. |
discountToken | number Deprecated |
discountedToken | number or null Deprecated |
paymentid | integer or null |
deletedpromotion | integer or null If a promotion is deleted from an article, this is set to 1, thus no further promotions will be applied to it |
discounttagid | integer or null |
object (DiscountTag) | |
promotionid | integer or null |
object (TicketMaterial) | |
bundleid | integer or null |
type | string or null Can either be "recurringpaymentterm", "newservicesubscription" or "newrecurringpayment" |
recurringpaymentid | integer or null The id of the recurring payment |
servicesubscriptionid | integer or null The id of the servicesubscription to be activated when payment completed |
object (ServiceSubscription) | |
salesorder_fulfillment | boolean or null Default: false |
[- {
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "giftcardid": 0,
- "giftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discountToken": 0.3423,
- "discountedToken": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "salesorder_fulfillment": false
}
]
[- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
]
Get payments.
freetext | string The free text that is used to search in paymentno, payment materials, etc. |
note | string Search based on notes. |
fromdate | string Example: fromdate=2020-01-01 00:00:00 Get all payments after the given fromdate to now (or to todate if specified) |
cash | integer 1 of you only want cash payments |
invoice | integer Example: invoice=1 1 of you only want invoice payments |
todate | string Example: todate=2020-01-01 23:59:59 Get all payments before the given todate |
productid | integer Get payments of a specific product |
paymentno_after | integer >= 0 Get all payments with paymentno >= paymentno_after |
updated_after | string Example: updated_after=2020-01-01 00:00:00 Get all payments updated after the given date |
userid | integer filter on userid |
customerid | integer filter on customerid |
customerPaymentSum | integer Default: 0 Calculate total payment sum for customer, requires that customerid is provided |
paymenttypeid | integer Filter on paymenttype |
paymentid | integer Filter on payment |
bamdeskdevice | integer 1 = only get bamdeskdevice payments |
fromPartnerStores | integer Default: 0 Includes payments from partner stores when not 0 |
returnedpayments | boolean Default: false Filters return payments of the specified payment ID. Requires a payment ID |
extra | integer Default: 0 Example: extra=1 Includes articles and taskIds when not 0. Note that this can be expensive |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of item) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of items to fetch in one page. |
sortOrder | integer Default: 1 Enum: -1 1 Example: sortOrder=1 Sorting order. If |
sortField | string Example: sortField=id Sort by |
cashRegisterId | number Example: cashRegisterId=1 Get payments with a specific cash register |
status | string (PaymentStatus) Enum: "initialized" "parked" "in_progress" "completed" "cancelled" Example: status=completed Get payments with a specific status |
{- "content": [
- {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
], - "count": 0,
- "hasMore": true,
- "totalcustomerpaymentsum": 0
}
Add a new payment. For a payment use must provide the products sold via articles and the payment transactions via paymenttypes
customerid | integer or null The id of the customer if any was attached to the payment |
remainingamount | number or null The amount left to pay for the payment |
cashRegisterId | integer or null The id of the cash register used for the payment. Provide null if you don't use cash regiters |
updated_at | string or null^\d{4}-\d{2}-\d{2}[T ]?\d{2}:\d{2}:\d{2} Timestamp for when the last time the payment is updated. |
invoice | integer 1 if payment is a invoice payment. For example if the payment is paid via an invoice in economic. |
customerpayment | integer Default: 0 1 if payment is a customer payment |
object (Customer) The representation of a customer. | |
Array of objects or null (PaymentArticle) The list of payment articles. Those are the products sold with the payment. When you POST a payment this will be the list of articles sold Note: When get GET payments we only provide this if you add query parameter ?extra=1 | |
taskids | Array of integers An optional list of ticket id attached to the payment. Note: When get GET payments we only provide this if you add query parameter ?extra=1 |
Array of objects or null (PaymentTypeRelation) A list of payment transactions used as means of payments. | |
cash | integer or null Deprecated Deprecated. To be removed soon |
secondhand | integer or null Set to 1 i f the return of the payment has secondhand products (only necessary to set if you want statistics of secondhand sales) |
status | string (PaymentStatus) Enum: "initialized" "parked" "in_progress" "completed" "cancelled" |
returnpaymentid | integer or null A reference ID to the POSPayment being returned. Only relevant for return sales. |
lastmodifiedbyuserid | integer or null ID of the user who last modified the payment by changing the status from in_progress to complete/cancelled |
note | string or null A piece of text attached to the payment. |
permission | string (PartnerPermissionAccess) Enum: "none" "readonly" "full" |
Sell wine with cash payment
{- "articles": [
- {
- "title": "Vin",
- "price": 100,
- "costprice": 30,
- "quantity": 1,
- "productno": "zinfandel_123",
- "vat": 25
}
], - "paymenttypes": [
- {
- "title": "Cash",
- "amount": 100,
- "cash": 1
}
]
}
{- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
{- "content": {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
}
paymentId required | integer >= 0 payment id |
object (POSPayment) The representation of a POS sale |
{- "content": {
- "customerid": 1,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "articles": [
- {
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "giftcardid": 0,
- "giftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discountToken": 0.3423,
- "discountedToken": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "note": "string",
- "permission": "none"
}
}
{- "content": {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
}
paymentId required | integer >= 0 payment id |
paymentArticleId required | integer >= 0 Payment article id |
object (PaymentArticle) The representation of a POS article To issue/sell giftcards
If you want to issue a gift card, sell a article with productno either 'giftcard', 'voucher', or 'deposit' and provide a unique giftcard number as value of giftcardno. Quantity must be 1
If you want to return a giftcard set |
{- "content": {
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "giftcardid": 0,
- "giftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discountToken": 0.3423,
- "discountedToken": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "salesorder_fulfillment": false
}
}
{- "content": {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
}
paymentArticleId required | integer >= 0 Payment article id |
paymentId required | integer >= 0 payment id |
title | string |
discount | number |
discounttagid | integer or null Which discount tag that should be applied to the discount |
{- "title": "string",
- "discount": 0,
- "discounttagid": 0
}
paymentId required | integer >= 0 payment id |
title | string |
discount | number |
discounttagid | integer or null Which discount tag that should be applied to the discount |
{- "title": "string",
- "discount": 0,
- "discounttagid": 0
}
id required | integer >= 0 Id to the relevant resource |
title | string |
discount | number |
discounttagid | integer or null Which discount tag that should be applied to the discount |
{- "title": "string",
- "discount": 0,
- "discounttagid": 0
}
includeDeleted | boolean Default: false Include deleted cash registers in request |
{- "content": [
- {
- "id": 1,
- "title": "Register",
- "paymenttypes": [
- {
- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
], - "bamdeskdevices": [
- {
- "id": 1,
- "title": "Payment terminal",
- "state": "CONNECTED",
- "derivedstate": "CONNECTED",
- "lastactivity": "2020-01-30 10:00:00",
- "printdeskid": "string",
- "ip": "192.168.1.120",
- "secretkey": "string"
}
], - "netsdevices": [
- {
- "id": 0,
- "terminalid": "string",
- "title": "string",
- "ip": "string"
}
], - "paymenttypeids": [
- 0
], - "netsdeviceids": [
- 0
], - "bamdeskdeviceids": [
- 0
], - "cashactive": 1,
- "default": 0,
- "startamount": 0,
- "pospaymentmethodrelations": [
- {
- "id": 1,
- "poscashregisterid": 1,
- "paymentproviderid": 1,
- "paymentprovidertype": "paymenttype",
- "paymentprovider": "string",
- "position": 1,
- "transaction_limit": 99.45,
- "btnColor": "#000000"
}
], - "deleted_at": "string"
}
]
}
{- "content": {
- "title": "Register",
- "netsdevices": [
- {
- "terminalid": "string",
- "title": "string",
- "ip": "string"
}
], - "paymenttypeids": [
- 0
], - "netsdeviceids": [
- 0
], - "bamdeskdeviceids": [
- 0
], - "cashactive": 1,
- "default": 0,
- "startamount": 0,
- "pospaymentmethodrelations": [
- {
- "poscashregisterid": 1,
- "paymentproviderid": 1,
- "paymentprovidertype": "paymenttype",
- "paymentprovider": "string",
- "position": 1,
- "transaction_limit": 99.45,
- "btnColor": "#000000"
}
], - "deleted_at": "string"
}
}
{- "content": {
- "id": 1,
- "title": "Register",
- "paymenttypes": [
- {
- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
], - "bamdeskdevices": [
- {
- "id": 1,
- "title": "Payment terminal",
- "state": "CONNECTED",
- "derivedstate": "CONNECTED",
- "lastactivity": "2020-01-30 10:00:00",
- "printdeskid": "string",
- "ip": "192.168.1.120",
- "secretkey": "string"
}
], - "netsdevices": [
- {
- "id": 0,
- "terminalid": "string",
- "title": "string",
- "ip": "string"
}
], - "paymenttypeids": [
- 0
], - "netsdeviceids": [
- 0
], - "bamdeskdeviceids": [
- 0
], - "cashactive": 1,
- "default": 0,
- "startamount": 0,
- "pospaymentmethodrelations": [
- {
- "id": 1,
- "poscashregisterid": 1,
- "paymentproviderid": 1,
- "paymentprovidertype": "paymenttype",
- "paymentprovider": "string",
- "position": 1,
- "transaction_limit": 99.45,
- "btnColor": "#000000"
}
], - "deleted_at": "string"
}
}
id required | integer >= 0 Id to the relevant resource |
object (POSRegister) |
{- "content": {
- "title": "Register",
- "netsdevices": [
- {
- "terminalid": "string",
- "title": "string",
- "ip": "string"
}
], - "paymenttypeids": [
- 0
], - "netsdeviceids": [
- 0
], - "bamdeskdeviceids": [
- 0
], - "cashactive": 1,
- "default": 0,
- "startamount": 0,
- "pospaymentmethodrelations": [
- {
- "poscashregisterid": 1,
- "paymentproviderid": 1,
- "paymentprovidertype": "paymenttype",
- "paymentprovider": "string",
- "position": 1,
- "transaction_limit": 99.45,
- "btnColor": "#000000"
}
], - "deleted_at": "string"
}
}
{- "content": {
- "id": 1,
- "title": "Register",
- "paymenttypes": [
- {
- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
], - "bamdeskdevices": [
- {
- "id": 1,
- "title": "Payment terminal",
- "state": "CONNECTED",
- "derivedstate": "CONNECTED",
- "lastactivity": "2020-01-30 10:00:00",
- "printdeskid": "string",
- "ip": "192.168.1.120",
- "secretkey": "string"
}
], - "netsdevices": [
- {
- "id": 0,
- "terminalid": "string",
- "title": "string",
- "ip": "string"
}
], - "paymenttypeids": [
- 0
], - "netsdeviceids": [
- 0
], - "bamdeskdeviceids": [
- 0
], - "cashactive": 1,
- "default": 0,
- "startamount": 0,
- "pospaymentmethodrelations": [
- {
- "id": 1,
- "poscashregisterid": 1,
- "paymentproviderid": 1,
- "paymentprovidertype": "paymenttype",
- "paymentprovider": "string",
- "position": 1,
- "transaction_limit": 99.45,
- "btnColor": "#000000"
}
], - "deleted_at": "string"
}
}
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "id": 1,
- "title": "Register",
- "paymenttypes": [
- {
- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
], - "bamdeskdevices": [
- {
- "id": 1,
- "title": "Payment terminal",
- "state": "CONNECTED",
- "derivedstate": "CONNECTED",
- "lastactivity": "2020-01-30 10:00:00",
- "printdeskid": "string",
- "ip": "192.168.1.120",
- "secretkey": "string"
}
], - "netsdevices": [
- {
- "id": 0,
- "terminalid": "string",
- "title": "string",
- "ip": "string"
}
], - "paymenttypeids": [
- 0
], - "netsdeviceids": [
- 0
], - "bamdeskdeviceids": [
- 0
], - "cashactive": 1,
- "default": 0,
- "startamount": 0,
- "pospaymentmethodrelations": [
- {
- "id": 1,
- "poscashregisterid": 1,
- "paymentproviderid": 1,
- "paymentprovidertype": "paymenttype",
- "paymentprovider": "string",
- "position": 1,
- "transaction_limit": 99.45,
- "btnColor": "#000000"
}
], - "deleted_at": "string"
}
}
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "id": 1,
- "title": "Register",
- "paymenttypes": [
- {
- "id": 1,
- "title": "Cash",
- "accountno": 1234,
- "currency": "DKK",
- "exchangerate": 7.5,
- "cash": 0,
- "disabled": 0
}
], - "bamdeskdevices": [
- {
- "id": 1,
- "title": "Payment terminal",
- "state": "CONNECTED",
- "derivedstate": "CONNECTED",
- "lastactivity": "2020-01-30 10:00:00",
- "printdeskid": "string",
- "ip": "192.168.1.120",
- "secretkey": "string"
}
], - "netsdevices": [
- {
- "id": 0,
- "terminalid": "string",
- "title": "string",
- "ip": "string"
}
], - "paymenttypeids": [
- 0
], - "netsdeviceids": [
- 0
], - "bamdeskdeviceids": [
- 0
], - "cashactive": 1,
- "default": 0,
- "startamount": 0,
- "pospaymentmethodrelations": [
- {
- "id": 1,
- "poscashregisterid": 1,
- "paymentproviderid": 1,
- "paymentprovidertype": "paymenttype",
- "paymentprovider": "string",
- "position": 1,
- "transaction_limit": 99.45,
- "btnColor": "#000000"
}
], - "deleted_at": "string"
}
}
id required | integer >= 0 Id to the relevant resource |
object | |
setatpartners | boolean Default: false Whether or not to update the image for partner products - if true this only updates the image, not any other properties |
{- "content": {
- "url": "string"
}, - "setatpartners": false
}
{- "content": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "message": "string"
}
id required | integer The product ID |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of products) to fetch. This is usually a multiple of the pageLength. For legacy support you can also write pagination-start |
paginationPageLength | integer <= 250 Default: 50 Example: paginationPageLength=30 Determine the number of products to fetch in one page. For legacy support you can also write pagination-PageLength |
{- "content": [
- {
- "productno": "string",
- "productid": 0,
- "addonproductid": 0,
- "amount": 0,
- "addonprice": 0,
- "updated_at": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "hasMore": true
}
id required | integer >= 0 Id to the relevant resource |
addonproductid | integer The id of the addon to add. |
amount | integer or null The amount |
addonprice | number or null <double> A custom price |
{- "addonproductid": 0,
- "amount": 0,
- "addonprice": 0
}
Array of objects (SetProductBulkItem) <= 100 items The body of the request used to create/update products. |
{- "content": [
- {
- "content": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "syncproductdatawebshop": false,
- "stocktransactionreason": "string"
}
]
}
{- "content": [
- {
- "id": 0,
- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "status": 200,
- "message": "string",
- "error": { }
}
]
}
Array of objects (SetProductBulkItem) <= 100 items The body of the request used to create/update products. |
{- "content": [
- {
- "content": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "syncproductdatawebshop": false,
- "stocktransactionreason": "string"
}
]
}
{- "content": [
- {
- "id": 0,
- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "status": 200,
- "message": "string",
- "error": { }
}
]
}
ids | Array of strings <= 100 items Pipe separated list of ids |
{- "content": [
- {
- "id": 0,
- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "status": 200,
- "message": "string",
- "error": { }
}
]
}
cursor | string Examples:
Cursor for pagination. If parameter is set, paginationStart will be ignored. Only allowed for default sorting or based on id. |
barcode | string Barcode |
brand | string Brand |
color | string |
size | string |
customfield1 | string |
customfield2 | string |
customfield3 | string |
customfield4 | string |
count | boolean Deprecated Default: true Example: count=true Return the count or not. |
freetext | string Freetext search used to find what humans expect. NB this can change over time, don't use this in your integration on this. |
id | integer The ID of the product. |
inStock | boolean Only retrieve products that are currently in stock. |
needsOrdering | boolean Only retrieve products that needs to be ordered because of low stock. |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of products) to fetch. This is usually a multiple of the pageLength. For legacy support you can also write pagination-start |
paginationPageLength | integer <= 250 Default: 50 Example: paginationPageLength=30 Determine the number of products to fetch in one page. For legacy support you can also write pagination-PageLength |
productNo | Array of strings <= 100 Pipe separated list of product numbers. |
styleNo | Array of strings <= 100 Pipe separated list of style numbers. |
serieNo | string Serie-number |
hasSerieNo | boolean Return products that has a serie-number |
needsrrppriceupdate | boolean Return products that have a recommended retail price and the recommended retail price does not match the products price |
stocktransactionlistid | integer Search in stocktransactionlist, this will only search on products that are a part of a stocktransactionlist with this id |
sort-order | integer Default: 1 Enum: -1 1 Example: sort-order=1 Sorting order. If |
sort-field | string Example: sort-field=id Sort by |
suppliername | string Name of the supplier. |
tag | string Tag. |
tags | Array of strings <= 100 items List of tags to restrict the search to. |
supplierid | string Supplier. |
partnerstoreid | string List products for partner store. |
vatmode | string Enum: "normal" "second_hand" VAT mode |
updated_after | string Example: updated_after=2020-01-01 00:00:00 Get all products updated after the given date |
created_before | string Example: created_before=2020-01-01 00:00:00 Get all products created before the given date |
updated_before | string Example: updated_before=2020-01-01 00:00:00 Get all products updated before the given date |
getDiscountPrice | boolean Example: getDiscountPrice=true Whether to include discountprice for the products |
hasSyncproductdatawebshop | boolean Example: hasSyncproductdatawebshop=true If given, only get products that has/has not syncproductdatawebshop set |
{- "content": [
- {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
], - "count": 0,
- "hasMore": true,
- "nextCursor": "string"
}
object (Product) The representation of a product. | |
stocktransactiontagid | number or null Default: null |
resthookmetadata | string <= 255 characters Default: "{}" The string content has to be valid JSON. It can contain whatever meta data a resthook could use. For example, 'syncproductdatawebshop' could be set to true, so the function, that receives the resthook, knows whether or not to sync a given product. |
stocktransactionreason | string <= 255 characters The reason why the product stock was updated. This will be saved in the product stock transaction log. |
stocknochangeisrelative | boolean Deprecated Default: false If true, the Product.stockno update is interpreted as relative to its previous value; for example, if the previous value was 40 and you pass Product.stockno=42, it's interpreted as adding 2 (e.g. receiving 2 items from a supplier), and if you pass Product.stockno=38, it's interpreted as removing 2 (e.g. selling 2 items). If stocknochangeisrelative is false, the change is interpreted as absolute, e.g. with the intention of setting the initial value or correcting a wrong number. Note it has no direct effect on how Customers 1st functions; Product.stockno will always be set to the specified value; but it affects REST hooks (product.updated events) and 3rd party integrations if they distinguish between absolute and relative changes in the number of items in stock. See also stocknochangetype in Product. |
orderid | integer A reference to the shopping list item id for which this product stock has been updated. |
setatpartners | boolean Default: false Create/update relavant product data at partner stores |
{- "content": {
- "title": "Wine",
- "productno": "zinfaldel_123",
- "barcode": "79530347",
- "stockno": 12,
- "stockmin": 6,
- "stockmax": 26
}
}
{- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "allow_edit_productno_and_serieno": true
}
productId required | integer The product ID |
includeDiscountPrice | integer Includes discountprice of a product. If set to 1, the discountprice is included, otherwise it is not included. |
{- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "allow_edit_productno_and_serieno": true
}
productId required | integer The product ID |
object (Product) The representation of a product. | |
stocktransactiontagid | number or null Default: null |
resthookmetadata | string <= 255 characters Default: "{}" The string content has to be valid JSON. It can contain whatever meta data a resthook could use. For example, 'syncproductdatawebshop' could be set to true, so the function, that receives the resthook, knows whether or not to sync a given product. |
stocktransactionreason | string <= 255 characters The reason why the product stock was updated. This will be saved in the product stock transaction log. |
stocknochangeisrelative | boolean Deprecated Default: false If true, the Product.stockno update is interpreted as relative to its previous value; for example, if the previous value was 40 and you pass Product.stockno=42, it's interpreted as adding 2 (e.g. receiving 2 items from a supplier), and if you pass Product.stockno=38, it's interpreted as removing 2 (e.g. selling 2 items). If stocknochangeisrelative is false, the change is interpreted as absolute, e.g. with the intention of setting the initial value or correcting a wrong number. Note it has no direct effect on how Customers 1st functions; Product.stockno will always be set to the specified value; but it affects REST hooks (product.updated events) and 3rd party integrations if they distinguish between absolute and relative changes in the number of items in stock. See also stocknochangetype in Product. |
orderid | integer A reference to the shopping list item id for which this product stock has been updated. |
setatpartners | boolean Default: false Create/update relavant product data at partner stores |
Overwrite stock number of wine
{- "content": {
- "title": "Wine"
}
}
{- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "allow_edit_productno_and_serieno": true
}
productId required | integer The product ID |
object (Product) The representation of a product. | |
stocktransactiontagid | number or null Default: null |
resthookmetadata | string <= 255 characters Default: "{}" The string content has to be valid JSON. It can contain whatever meta data a resthook could use. For example, 'syncproductdatawebshop' could be set to true, so the function, that receives the resthook, knows whether or not to sync a given product. |
stocktransactionreason | string <= 255 characters The reason why the product stock was updated. This will be saved in the product stock transaction log. |
stocknochangeisrelative | boolean Deprecated Default: false If true, the Product.stockno update is interpreted as relative to its previous value; for example, if the previous value was 40 and you pass Product.stockno=42, it's interpreted as adding 2 (e.g. receiving 2 items from a supplier), and if you pass Product.stockno=38, it's interpreted as removing 2 (e.g. selling 2 items). If stocknochangeisrelative is false, the change is interpreted as absolute, e.g. with the intention of setting the initial value or correcting a wrong number. Note it has no direct effect on how Customers 1st functions; Product.stockno will always be set to the specified value; but it affects REST hooks (product.updated events) and 3rd party integrations if they distinguish between absolute and relative changes in the number of items in stock. See also stocknochangetype in Product. |
orderid | integer A reference to the shopping list item id for which this product stock has been updated. |
setatpartners | boolean Default: false Create/update relavant product data at partner stores |
Overwrite stock number of wine
{- "content": {
- "title": "Wine",
- "productno": "zinfaldel_123",
- "barcode": "79530347",
- "stockno": 18,
- "stockmin": 6,
- "stockmax": 26
}
}
{- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "allow_edit_productno_and_serieno": true
}
{- "content": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "allow_edit_productno_and_serieno": true
}
productId required | integer The product ID |
addonId required | integer The add-on id |
amount | integer |
addonprice | number or null <double> |
object (Product) The representation of a product. |
{- "amount": 0,
- "addonprice": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
suppliername required | string <= 255 characters Name of supplier |
tags | Array of strings or null <= 15 items |
title | string <= 255 characters Name of product |
productno required | string Product id |
barcode | string or null Barcode |
alternativebarcode | string or null Barcode |
brand | string or null <= 100 characters Brand |
suggestedprice | number or null <double> The suggested price |
price | number or null <double> The actual price |
color | string or null <= 255 characters Color |
size | string or null <= 255 characters Size |
styleno | string or null <= 255 characters Style number |
vat | number or null <double> VAT in percent |
industry required | string <= 255 characters Industry. Examples: bikeshop, garden, phone, jewelry, generic. |
country required | string <= 255 characters Country. Examples: dk, en. |
year | integer or null Year |
imageurl | string or null The url from which to fetch the image |
customfield1 | string or null |
customfield2 | string or null |
customfield3 | string or null |
customfield4 | string or null |
{- "suppliername": "DanishBikeSupplier",
- "tags": [
- "string"
], - "title": "string",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "brand": "string",
- "suggestedprice": 0,
- "price": 0,
- "color": "string",
- "size": "string",
- "styleno": "string",
- "vat": 25,
- "industry": "bikeshop",
- "country": "dk",
- "year": 2019,
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "Gold wheels"
}
{- "content": {
- "id": 0,
- "suppliername": "DanishBikeSupplier",
- "tags": [
- "string"
], - "title": "string",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "brand": "string",
- "suggestedprice": 0,
- "price": 0,
- "color": "string",
- "size": "string",
- "styleno": "string",
- "vat": 25,
- "industry": "bikeshop",
- "country": "dk",
- "year": 2019,
- "lastupdate": "string",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "Gold wheels"
}, - "status": "string"
}
search | string The search string |
barcode | string A secondary search string that only searches in the barcode field |
pagelength | integer The pagination page length |
offset | integer The pagination object offset |
{- "content": [
- {
- "id": 0,
- "suppliername": "DanishBikeSupplier",
- "tags": [
- "string"
], - "title": "string",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "brand": "string",
- "suggestedprice": 0,
- "price": 0,
- "color": "string",
- "size": "string",
- "styleno": "string",
- "vat": 25,
- "industry": "bikeshop",
- "country": "dk",
- "year": 2019,
- "lastupdate": "string",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "Gold wheels"
}
], - "hasMore": true
}
suppliername required | string <= 255 characters Name of supplier |
tags | Array of strings or null <= 15 items |
title | string <= 255 characters Name of product |
productno required | string Product id |
barcode | string or null Barcode |
alternativebarcode | string or null Barcode |
brand | string or null <= 100 characters Brand |
suggestedprice | number or null <double> The suggested price |
price | number or null <double> The actual price |
color | string or null <= 255 characters Color |
size | string or null <= 255 characters Size |
styleno | string or null <= 255 characters Style number |
vat | number or null <double> VAT in percent |
industry required | string <= 255 characters Industry. Examples: bikeshop, garden, phone, jewelry, generic. |
country required | string <= 255 characters Country. Examples: dk, en. |
year | integer or null Year |
imageurl | string or null The url from which to fetch the image |
customfield1 | string or null |
customfield2 | string or null |
customfield3 | string or null |
customfield4 | string or null |
[- {
- "suppliername": "DanishBikeSupplier",
- "tags": [
- "string"
], - "title": "string",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "brand": "string",
- "suggestedprice": 0,
- "price": 0,
- "color": "string",
- "size": "string",
- "styleno": "string",
- "vat": 25,
- "industry": "bikeshop",
- "country": "dk",
- "year": 2019,
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "Gold wheels"
}
]
[- {
- "content": {
- "id": 0,
- "suppliername": "DanishBikeSupplier",
- "tags": [
- "string"
], - "title": "string",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "brand": "string",
- "suggestedprice": 0,
- "price": 0,
- "color": "string",
- "size": "string",
- "styleno": "string",
- "vat": 25,
- "industry": "bikeshop",
- "country": "dk",
- "year": 2019,
- "lastupdate": "string",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "Gold wheels"
}, - "status": "string"
}
]
handles | Array of strings <= 100 Pipe separated list of tag handles. |
ids | Array of strings <= 100 Pipe separated list of ids handles. |
{- "content": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "count": 0,
- "hasMore": true
}
title | string The title of the tag |
id | integer or null The ID of the tag |
accountno | integer or null The accountno used for book keeping |
object or null (PromotionTagFilter) | |
handle | string or null Unique handle for the produttag. Will be set automatically if not set. The handle is write once, and can not be changed after the tag is created. |
position | number or null Number used to determine order of product tags. |
positionafterid | number or null If this is set, the position of this product tag will be between positionafterid and the tag below if it exists. |
positionbeforeid | number or null If this is set, the position of this product tag will be between positionbeforeid and the tag above if it exists. |
{- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
{- "content": {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
}
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
}
{- "content": {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
}
id required | integer >= 0 Id to the relevant resource |
title | string The title of the tag |
id | integer or null The ID of the tag |
accountno | integer or null The accountno used for book keeping |
object or null (PromotionTagFilter) | |
handle | string or null Unique handle for the produttag. Will be set automatically if not set. The handle is write once, and can not be changed after the tag is created. |
position | number or null Number used to determine order of product tags. |
positionafterid | number or null If this is set, the position of this product tag will be between positionafterid and the tag below if it exists. |
positionbeforeid | number or null If this is set, the position of this product tag will be between positionbeforeid and the tag above if it exists. |
{- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
{- "content": {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
}
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of item to fetch in one page. |
allowDeleted | integer Default: 0 Optional. If equal to |
freeText | string Optional. Search for promotion name, product, brand, tag and customer group |
actionType | string Enum: "percentage" "adjustPriceBy" "percentageByCostprice" "totalPriceUnit" Optional. Search promotions by its action type |
startDate | string Optional. Search promotions by start date (format YYYY-MM-DD HH:MM:SS) |
endDate | string Optional. Search promotions by end date (format YYYY-MM-DD HH:MM:SS) |
hideDiscountProductno | boolean Optional. Filter out single product discounts |
hideChainPromotions | boolean Optional. Filter out chain promotions |
{- "content": [
- {
- "id": 123,
- "name": "Summer discount",
- "description": "10% on all bikes in the summer.",
- "deleted": 1,
- "startdate": "2019-01-01 12:00:00",
- "enddate": "2019-02-01 12:00:00",
- "minproducts": 1,
- "applyall": true,
- "productfilters": [
- {
- "attribute": "tag",
- "value": "Bike"
}
], - "customerfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "loyalty_members_only": true,
- "serviceplanfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "articles": null,
- "storeid": 0,
- "productno_counts": [
- {
- "productno": "string",
- "count": 0
}
], - "count": 0,
- "action": {
- "type": "percentage",
- "amount": 10
}
}
], - "count": 1,
- "hasMore": true
}
NB: If you want to add discount price to a specific product use discountprice on Product instead.
Create a new promotion that results in an automatic discount when matching products are put in the POS cart.
The automatic assignment of discounts is based product filters (explained in more detail below). When these filters match, the promotion triggers an action resulting in some kind of discount presentend in the cart. Currently, actions come in two flavors: single product discounts and bundle discounts. How the promotion will trigger depends on this flavor.
Single product discounts (percentage
, adjustPriceBy
, percentageByCostprice
, totalPriceUnit
):
Here, a single product gets discount by some amount.
The filters can match against productnos, brands and tags.
Each promotion has a required name
which shown in the cart when the discount is given.
description
is optional and designed only for humans to read. It is only shown in the settings.
active
can be used to disable promotions until they are ready.
Promotions will also only be considered active when today's date is inside the startdate
-enddate
-range.
If enddate
is null
, the promotion is considered to run forever.
Product filters are inclusive by nature. In the future, excluding filters will be added as well.
Filters have an attribute
and a value
. The attribute can be various attributes of a product, like tag
and productno
.
For instance, to give a discount on all bikes with tag Bike, see the example below).
The value
can be a list of values in which case, if either of the values match, the filter matches.
And if either of the filters matches, the promotion will trigger (in case of single product discounts).
The filters for bundle discounts currently needs to be very specific:
A single filter with attribute
= productno and value
= list of productnos.
In the future, it will be possible to filter based on customer attributes as well, such that specific customers can get certain discounts.
object (Promotion) Object representing a promotion. |
{- "content": {
- "name": "Summer discount",
- "description": "10% on all bikes in the summer.",
- "deleted": 1,
- "startdate": "2019-01-01 12:00:00",
- "enddate": "2019-02-01 12:00:00",
- "minproducts": 1,
- "applyall": true,
- "productfilters": [
- {
- "attribute": "tag",
- "value": "Bike"
}
], - "customerfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "loyalty_members_only": true,
- "serviceplanfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "productno_counts": [
- {
- "productno": "string",
- "count": 0
}
], - "action": {
- "type": "percentage",
- "amount": 10
}
}
}
{- "id": 123
}
Given a specific promotion id, fetch the entire promotion object.
id required | integer |
{- "id": 123,
- "name": "Summer discount",
- "description": "10% on all bikes in the summer.",
- "deleted": 1,
- "startdate": "2019-01-01 12:00:00",
- "enddate": "2019-02-01 12:00:00",
- "minproducts": 1,
- "applyall": true,
- "productfilters": [
- {
- "attribute": "tag",
- "value": "Bike"
}
], - "customerfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "loyalty_members_only": true,
- "serviceplanfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "articles": null,
- "storeid": 0,
- "productno_counts": [
- {
- "productno": "string",
- "count": 0
}
], - "count": 0,
- "action": {
- "type": "percentage",
- "amount": 10
}
}
Replace the promotion object of a specific promotion with another.
id required | integer |
object (Promotion) Object representing a promotion. |
{- "content": {
- "name": "Summer discount",
- "description": "10% on all bikes in the summer.",
- "deleted": 1,
- "startdate": "2019-01-01 12:00:00",
- "enddate": "2019-02-01 12:00:00",
- "minproducts": 1,
- "applyall": true,
- "productfilters": [
- {
- "attribute": "tag",
- "value": "Bike"
}
], - "customerfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "loyalty_members_only": true,
- "serviceplanfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "productno_counts": [
- {
- "productno": "string",
- "count": 0
}
], - "action": {
- "type": "percentage",
- "amount": 10
}
}
}
{- "updated": 1
}
Get all relevant promotions for a set of products and a customer. Currently the customer is ignore and can be null. This query can be seen as "given a cart, what promotions will match?"
If you have multiple of the same products in the query, they should be represented as a CartArticle
,
i.e. specified by a productno
and quantity
(see example). Otherwise, you can simply use productno strings.
Array of strings or CartArticle (object) List of productnos. | |
allowDeleted | boolean or null Whether or not the lookup should find promotions which are deleted. |
customer | integer or null The id of the customer. Can be null, if returned promotions should be relevant for all customers. |
{- "products": [
- "123"
], - "allowDeleted": true,
- "customer": 42
}
{- "content": [
- {
- "id": 123,
- "name": "Summer discount",
- "description": "10% on all bikes in the summer.",
- "deleted": 1,
- "startdate": "2019-01-01 12:00:00",
- "enddate": "2019-02-01 12:00:00",
- "minproducts": 1,
- "applyall": true,
- "productfilters": [
- {
- "attribute": "tag",
- "value": "Bike"
}
], - "customerfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "loyalty_members_only": true,
- "serviceplanfilters": [
- {
- "attribute": "tag",
- "value": [
- "1",
- "2",
- "3"
]
}
], - "articles": null,
- "storeid": 0,
- "productno_counts": [
- {
- "productno": "string",
- "count": 0
}
], - "count": 0,
- "action": {
- "type": "percentage",
- "amount": 10
}
}
], - "count": 0,
- "hasMore": true
}
This endpoint is primarily used in our own POS implementation assumes our own cart data structure.
The bare minimum data structure for this call is an object with a property articles
which is a list of CartArticle
.
Each article contains extra information about whether it is a product, discount etc. and whether it was created manually or automatically.
In the future, this might be made more generally applicable.
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "id": 0,
- "startdate": "string",
- "expectedenddate": "string",
- "termamount": 0,
- "termamountwithoutvat": 0,
- "termvatamount": 0,
- "vat": 0,
- "nextamount": 0,
- "amountleft": 0,
- "customerid": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "paymentno": 0,
- "terms": 1,
- "termspaid": 0,
- "interval": "month",
- "recurringpaymentproductdepreciations": [
- {
- "id": 0,
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "customerarticleid": 0,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "scrapvalue": 0,
- "initialcostprice": 0,
- "currentcostprice": 0,
- "recurringpaymentid": 0,
- "scrapdate": "string",
- "created_at": "string"
}
], - "nextduedate": "string",
- "overdue": true,
- "status": "active",
- "userid": 0,
- "user": {
- "name": "string",
- "id": 0
}
}
}
paginationStart | integer Default: 0 Example: paginationStart=100 |
paginationPageLength | integer <= 200 Default: 20 Example: paginationPageLength=20 |
exceededduedate | integer If exceededduedate is 1, it wil get all recurring payments, where the nextduedate is exceeded, and the customer still needs to pay. |
{- "content": [
- {
- "id": 0,
- "startdate": "string",
- "expectedenddate": "string",
- "termamount": 0,
- "termamountwithoutvat": 0,
- "termvatamount": 0,
- "vat": 0,
- "nextamount": 0,
- "amountleft": 0,
- "customerid": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "paymentno": 0,
- "terms": 1,
- "termspaid": 0,
- "interval": "month",
- "recurringpaymentproductdepreciations": [
- {
- "id": 0,
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "customerarticleid": 0,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "scrapvalue": 0,
- "initialcostprice": 0,
- "currentcostprice": 0,
- "recurringpaymentid": 0,
- "scrapdate": "string",
- "created_at": "string"
}
], - "nextduedate": "string",
- "overdue": true,
- "status": "active",
- "userid": 0,
- "user": {
- "name": "string",
- "id": 0
}
}
], - "count": 0,
- "hasMore": true
}
object (RecurringPayment) |
{- "content": {
- "id": 0,
- "startdate": "string",
- "termamount": 0,
- "amountleft": 0,
- "customerid": 0,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "terms": 1,
- "interval": "month",
- "recurringpaymentproductdepreciations": [
- {
- "id": 0,
- "productid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "customerarticleid": 0,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "scrapvalue": 0,
- "recurringpaymentid": 0,
- "scrapdate": "string"
}
], - "nextduedate": "string",
- "overdue": true,
- "status": "active"
}
}
{- "content": {
- "id": 0,
- "startdate": "string",
- "expectedenddate": "string",
- "termamount": 0,
- "termamountwithoutvat": 0,
- "termvatamount": 0,
- "vat": 0,
- "nextamount": 0,
- "amountleft": 0,
- "customerid": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "paymentno": 0,
- "terms": 1,
- "termspaid": 0,
- "interval": "month",
- "recurringpaymentproductdepreciations": [
- {
- "id": 0,
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "customerarticleid": 0,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "scrapvalue": 0,
- "initialcostprice": 0,
- "currentcostprice": 0,
- "recurringpaymentid": 0,
- "scrapdate": "string",
- "created_at": "string"
}
], - "nextduedate": "string",
- "overdue": true,
- "status": "active",
- "userid": 0,
- "user": {
- "name": "string",
- "id": 0
}
}
}
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
}
paymentId required | integer >= 0 payment id |
object (RecurringPayment) |
{- "content": {
- "id": 0,
- "startdate": "string",
- "termamount": 0,
- "amountleft": 0,
- "customerid": 0,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "terms": 1,
- "interval": "month",
- "recurringpaymentproductdepreciations": [
- {
- "id": 0,
- "productid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "customerarticleid": 0,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "scrapvalue": 0,
- "recurringpaymentid": 0,
- "scrapdate": "string"
}
], - "nextduedate": "string",
- "overdue": true,
- "status": "active"
}
}
{- "content": {
- "id": 0,
- "startdate": "string",
- "expectedenddate": "string",
- "termamount": 0,
- "termamountwithoutvat": 0,
- "termvatamount": 0,
- "vat": 0,
- "nextamount": 0,
- "amountleft": 0,
- "customerid": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "paymentno": 0,
- "terms": 1,
- "termspaid": 0,
- "interval": "month",
- "recurringpaymentproductdepreciations": [
- {
- "id": 0,
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "customerarticleid": 0,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "scrapvalue": 0,
- "initialcostprice": 0,
- "currentcostprice": 0,
- "recurringpaymentid": 0,
- "scrapdate": "string",
- "created_at": "string"
}
], - "nextduedate": "string",
- "overdue": true,
- "status": "active",
- "userid": 0,
- "user": {
- "name": "string",
- "id": 0
}
}
}
salesOrderFulfillmentId required | integer Sales order ID |
search | string Search string |
page | integer Page number |
pageSize | integer Page size |
{- "content": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
]
}
salesOrderFulfillmentId required | integer Sales order ID |
object (SalesOrderFulfillmentMaterial) |
{- "content": {
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
}
{- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
{- "content": {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
}
id required | integer Order ID |
fulfilled_quantity | number |
cancelled_quantity | number |
rejected_quantity | number |
object (Product) The representation of a product. | |
property name* additional property | any |
{- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
{- "content": {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
}
freetext | string Search string |
storeid | integer Filter by the id of the fulfilling store |
salesOrderStoreid | integer Filter by the id of store that created the order |
salesOrderid | integer Filter by the id of the salesorder |
page | integer Page number |
pageSize | integer Page size |
includeDrafts | boolean Include draft orders |
open | boolean Filter by open/closed status |
status | string Filter by status. Can be comma separated list of statuses |
{- "content": [
- {
- "id": 0,
- "storeid": 0,
- "fulfillment_no": 0,
- "sales_order_id": 0,
- "updated_by_user_id": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "note": "string",
- "draft": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "sales_order": {
- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "name": "John Doe",
- "customerno": "19181715",
- "tags": [ ],
- "deleted_at": "2022-03-10 00:00:00",
- "loyalty_member_since": "string",
- "store": {
- "id": 1,
- "title": "string"
}
}
}
}
], - "meta": {
- "next_cursor": "string",
- "prev_cursor": "string",
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0,
- "links": [
- {
- "url": "string",
- "label": "string",
- "active": true
}
]
}, - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}
}
{- "content": {
- "fulfillment_no": 0,
- "sales_order_id": 0,
- "sales_order": {
- "order_no": 0
}, - "status": "pending",
- "open": true,
- "fulfillment_method": "pickup",
- "note": "string",
- "draft": true,
- "updated_by_user_id": 0,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}
}
}
{- "id": 0,
- "storeid": 0,
- "fulfillment_no": 0,
- "pos_payment_id": 0,
- "sales_order_id": 0,
- "sales_order": {
- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "name": "John Doe",
- "customerno": "19181715",
- "tags": [ ],
- "deleted_at": "2022-03-10 00:00:00",
- "loyalty_member_since": "string",
- "store": {
- "id": 1,
- "title": "string"
}
}
}, - "status": "pending",
- "open": true,
- "fulfillment_method": "pickup",
- "note": "string",
- "draft": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by_user_id": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
}
{- "content": {
- "id": 0,
- "storeid": 0,
- "fulfillment_no": 0,
- "pos_payment_id": 0,
- "sales_order_id": 0,
- "sales_order": {
- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "name": "John Doe",
- "customerno": "19181715",
- "tags": [ ],
- "deleted_at": "2022-03-10 00:00:00",
- "loyalty_member_since": "string",
- "store": {
- "id": 1,
- "title": "string"
}
}
}, - "status": "pending",
- "open": true,
- "fulfillment_method": "pickup",
- "note": "string",
- "draft": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by_user_id": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
}
}
id required | integer Order ID |
object (SalesOrderFulfillment) |
{- "content": {
- "fulfillment_no": 0,
- "sales_order_id": 0,
- "sales_order": {
- "order_no": 0
}, - "status": "pending",
- "open": true,
- "fulfillment_method": "pickup",
- "note": "string",
- "draft": true,
- "updated_by_user_id": 0,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}
}
}
{- "content": {
- "id": 0,
- "storeid": 0,
- "fulfillment_no": 0,
- "pos_payment_id": 0,
- "sales_order_id": 0,
- "sales_order": {
- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "name": "John Doe",
- "customerno": "19181715",
- "tags": [ ],
- "deleted_at": "2022-03-10 00:00:00",
- "loyalty_member_since": "string",
- "store": {
- "id": 1,
- "title": "string"
}
}
}, - "status": "pending",
- "open": true,
- "fulfillment_method": "pickup",
- "note": "string",
- "draft": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "updated_by_user_id": 0,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}
}
}
search | string Search string |
page | integer Page number |
pageSize | integer Page size |
includeDrafts | boolean Include draft orders |
open | boolean Include draft orders |
{- "content": [
- {
- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "customer_id": 0,
- "status": "pending",
- "open": true,
- "note": "string",
- "draft": true,
- "customer": {
- "id": 1,
- "storeid": 1,
- "name": "John Doe",
- "customerno": "19181715",
- "tags": [ ],
- "deleted_at": "2022-03-10 00:00:00",
- "loyalty_member_since": "string",
- "store": {
- "id": 1,
- "title": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "missing_quantity": 0,
- "pospayment_id": 0,
- "payment": {
- "id": 0,
- "paymentno": 0,
- "date": "string",
- "sum": 1
}
}
], - "meta": {
- "next_cursor": "string",
- "prev_cursor": "string",
- "current_page": 0,
- "from": 0,
- "last_page": 0,
- "path": "string",
- "per_page": 0,
- "to": 0,
- "total": 0,
- "links": [
- {
- "url": "string",
- "label": "string",
- "active": true
}
]
}, - "links": {
- "first": "string",
- "last": "string",
- "prev": "string",
- "next": "string"
}
}
{- "content": {
- "order_no": 0,
- "customer_id": 0,
- "status": "pending",
- "open": true,
- "note": "string",
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}
}
}
{- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "pospayment_id": 0,
- "customer_id": 0,
- "status": "pending",
- "open": true,
- "note": "string",
- "draft": true,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "missing_quantity": 0,
- "payment": {
- "id": 0,
- "paymentno": 0,
- "date": "string",
- "sum": 1
}
}
{- "content": {
- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "pospayment_id": 0,
- "customer_id": 0,
- "status": "pending",
- "open": true,
- "note": "string",
- "draft": true,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "missing_quantity": 0,
- "payment": {
- "id": 0,
- "paymentno": 0,
- "date": "string",
- "sum": 1
}
}
}
id required | integer Order ID |
object (SalesOrder) |
{- "content": {
- "order_no": 0,
- "customer_id": 0,
- "status": "pending",
- "open": true,
- "note": "string",
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}
}
}
{- "content": {
- "id": 0,
- "storeid": 0,
- "order_no": 0,
- "pospayment_id": 0,
- "customer_id": 0,
- "status": "pending",
- "open": true,
- "note": "string",
- "draft": true,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "missing_quantity": 0,
- "payment": {
- "id": 0,
- "paymentno": 0,
- "date": "string",
- "sum": 1
}
}
}
salesOrderId required | integer Sales order ID |
search | string Search string |
page | integer Page number |
pageSize | integer Page size |
{- "content": [
- {
- "id": 0,
- "sales_order_id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "missing_quantity": 0,
- "fulfilled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "pendingOrCompletedFulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "product": {
- "id": 0,
- "title": "string",
- "productno": "string",
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}
}
}
]
}
salesOrderId required | integer Sales order ID |
object (SalesOrderMaterial) | |
object or null |
{- "content": {
- "title": "string",
- "description": "string",
- "quantity": 0,
- "missing_quantity": 0,
- "fulfilled_quantity": 0,
- "rejected_quantity": 0,
- "fulfillments": [
- {
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "pendingOrCompletedFulfillments": [
- {
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
]
}, - "fulfillment": {
- "method": "pickup",
- "storeid": 0
}
}
{- "id": 0,
- "sales_order_id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "missing_quantity": 0,
- "fulfilled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "pendingOrCompletedFulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "product": {
- "id": 0,
- "title": "string",
- "productno": "string",
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}
}
}
{- "content": {
- "id": 0,
- "sales_order_id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "missing_quantity": 0,
- "fulfilled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "pendingOrCompletedFulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "product": {
- "id": 0,
- "title": "string",
- "productno": "string",
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}
}
}
}
id required | integer Order ID |
title | string |
description | string |
quantity | number |
missing_quantity | number |
fulfilled_quantity | number |
rejected_quantity | number |
Array of objects or null (SalesOrderFulfillmentMaterial) | |
Array of objects or null (SalesOrderFulfillmentMaterial) | |
property name* additional property | any |
{- "title": "string",
- "description": "string",
- "quantity": 0,
- "missing_quantity": 0,
- "fulfilled_quantity": 0,
- "rejected_quantity": 0,
- "fulfillments": [
- {
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "pendingOrCompletedFulfillments": [
- {
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
]
}
{- "content": {
- "id": 0,
- "sales_order_id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "missing_quantity": 0,
- "fulfilled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "pendingOrCompletedFulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "product": {
- "id": 0,
- "title": "string",
- "productno": "string",
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}
}
}
}
id required | integer Material ID |
object |
{- "content": {
- "quantity": 0,
- "method": "pickup",
- "storeid": 0
}
}
{- "content": {
- "id": 0,
- "sales_order_id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "missing_quantity": 0,
- "fulfilled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "pendingOrCompletedFulfillments": [
- {
- "id": 0,
- "title": "string",
- "description": "string",
- "product_id": 0,
- "quantity": 0,
- "fulfilled_quantity": 0,
- "cancelled_quantity": 0,
- "rejected_quantity": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "salesOrderFulfillment": {
- "id": 0,
- "storeid": 0,
- "fulfillment_method": "pickup",
- "status": "pending",
- "open": true,
- "draft": true
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
], - "product": {
- "id": 0,
- "title": "string",
- "productno": "string",
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}
}
}
}
productid | integer If it is set, it will exclude all serviceplans that does not match with the producttagrestriction. If not set it will get all serviceplans. |
withdeleted | boolean Default: false Wheter or not to include soft deleted service plans |
object (ServicePlan) |
{- "content": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}
}
{- "content": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}
}
productid | integer If it is set, it will exclude all serviceplans that does not match with the producttagrestriction. If not set it will get all serviceplans. |
withdeleted | boolean Default: false Wheter or not to include soft deleted service plans |
{- "content": [
- {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}
], - "count": 0,
- "hasMore": true
}
id required | integer |
object (ServicePlan) |
{- "content": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}
}
{- "content": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}
}
{- "content": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}
{- "content": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}
}
customerarticleid | integer Sort by customerarticleid |
allowdeleted | integer Allow deleted subscription with search (1 for allow deleted, if it is set to 0 or not set at all, it will not include deleted subscriptions) |
serviceplanid | integer Sort by serviceplanid |
serieno | string Sort by serieno |
{- "content": [
- {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}
]
}
id required | integer |
object (ServiceSubscription) |
{- "content": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}
{- "content": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}
}
By posting a serviceplanid, the serviceplan for the customerarticle attached to the material will be updated with the given serviceplanid, and a new material will be added to the task: The price of the serviceplan with its title. When this material is paid, the subscription for the customerarticle will be activated
materialid required | integer |
object (ServiceSubscription) |
{- "content": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}
{- "content": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}
}
{- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "storeTimezone": "string",
- "configs": [
- {
- "key": "string",
- "value": "string",
- "description": "string"
}
], - "printDesk": {
- "derivedDevices": [
- {
- "ip": "string",
- "derivedStatus": "active",
- "deviceid": "string",
- "port": 0,
- "name": "string",
- "ts": "string",
- "platform": "darwin",
- "printers": [
- {
- "name": "string",
- "description": "string",
- "id": "string",
- "status": "active"
}
]
}
]
}, - "appConfigs": {
- "economic_appPublicToken": "string",
- "ReePayPublicKey": "string"
}, - "customFields": [
- {
- "key": "string",
- "config": "string",
- "requiredCustomerArticle": true,
- "label": "string"
}
], - "featureFlags": [
- {
- "key": "string",
- "value": true
}
], - "partners": {
- "viewstock": [
- {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
], - "saveproduct": [
- {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
], - "sharecustomer": [
- {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
], - "inventorymove": [
- {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
], - "sharecustomerarticle": [
- {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
]
}, - "shouldShowWebshopCheckbox": true
}
{- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
{- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}
partnerstoreid | number |
Array of objects |
{- "partnerstoreid": 0,
- "barcodes": [
- {
- "barcode": "string",
- "amount": 0
}
]
}
{- "content": {
- "barcodesNotFound": [
- "string"
], - "barcodes": [
- "string"
]
}
}
partnerstoreid | number The store id of the store that item is moved to. Stock movements are recieved as shopping list orders. The store id must be on the store's stock partner list. |
object (ShoppingListItem) The representation of a shopping list item. The shopping list is a set of products the store must rememeber to order from a supplier. | |
aggregate | boolean or null Default: true Aggregate same products with same cost price into one list-item. |
{- "partnerstoreid": 0,
- "content": {
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "materialid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "receivedstatus": "completed",
- "material": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "expecteddelivery": "string"
}, - "aggregate": true
}
{- "partnerstoreid": 0,
- "content": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "aggregate": true
}
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of items to fetch in one page. |
orderid | integer Example: orderid=30 |
notordered | integer Default: 0 Enum: 0 1 filter ordered items |
supplierid | integer or null |
{- "content": [
- {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}
], - "count": 0,
- "hasMore": true
}
{- "content": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}
}
{- "content": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}
}
id required | integer The shopping list ID |
partnerstoreid | number The store id of the store that item is moved to. Stock movements are recieved as shopping list orders. The store id must be on the store's stock partner list. |
object (ShoppingListItem) The representation of a shopping list item. The shopping list is a set of products the store must rememeber to order from a supplier. | |
aggregate | boolean or null Default: true Aggregate same products with same cost price into one list-item. |
{- "partnerstoreid": 0,
- "content": {
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "materialid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "receivedstatus": "completed",
- "material": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "expecteddelivery": "string"
}, - "aggregate": true
}
{- "partnerstoreid": 0,
- "content": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "aggregate": true
}
partnerstoreid | number see movestocktostoreid in SetShoppingListItem |
required | object (ShoppingListOrder) The representation of a shopping list order item. An order is at set of shopping list items that have been ordered |
{- "partnerstoreid": 0,
- "content": {
- "note": "string",
- "orderids": [
- 0
], - "invoicesupplierid": 0,
- "invoiceduedate": "string",
- "invoicedate": "string",
- "invoicesupplier": {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}, - "shippingcost": 0
}
}
{- "partnerstoreid": 0,
- "content": {
- "id": 0,
- "orderlistno": 0,
- "note": "string",
- "orderdate": "string",
- "orderids": [
- 0
], - "receiveditems": 0,
- "itemcount": 0,
- "invoicesupplierid": 0,
- "invoiceduedate": "string",
- "invoicedate": "string",
- "invoicesupplier": {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}, - "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "totalamount": 0,
- "totalreceived": 0,
- "totalinorder": 0,
- "totalpending": 0,
- "completed": true,
- "delivereddate": "string",
- "invoicenumber": "string",
- "shippingcost": 0
}
}
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength. |
freetext | string Example: freetext=Bike Freetext search for note, orderlist number, product title etc. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of items to fetch in one page. |
received | integer Example: received=1 If it is set to 1, it only retrieves orders with all items received |
notReceived | integer Example: notReceived=1 If it is set to 1, it only retrieves orders where the items are not received |
{- "content": [
- {
- "id": 0,
- "orderlistno": 0,
- "note": "string",
- "orderdate": "string",
- "orderids": [
- 0
], - "receiveditems": 0,
- "itemcount": 0,
- "invoicesupplierid": 0,
- "invoiceduedate": "string",
- "invoicedate": "string",
- "invoicesupplier": {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}, - "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "totalamount": 0,
- "totalreceived": 0,
- "totalinorder": 0,
- "totalpending": 0,
- "completed": true,
- "delivereddate": "string",
- "invoicenumber": "string",
- "shippingcost": 0
}
], - "count": 0,
- "hasMore": true
}
id required | integer >= 0 Id to the relevant resource |
object Content body for updating the note |
{- "content": {
- "note": "string"
}
}
{- "content": [
- {
- "id": 0,
- "orderlistno": 0,
- "note": "string",
- "orderdate": "string",
- "orderids": [
- 0
], - "receiveditems": 0,
- "itemcount": 0,
- "invoicesupplierid": 0,
- "invoiceduedate": "string",
- "invoicedate": "string",
- "invoicesupplier": {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}, - "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "totalamount": 0,
- "totalreceived": 0,
- "totalinorder": 0,
- "totalpending": 0,
- "completed": true,
- "delivereddate": "string",
- "invoicenumber": "string",
- "shippingcost": 0
}
], - "count": 0,
- "hasMore": true
}
id required | integer >= 0 Id to the relevant resource |
object Content body for updating the note |
{- "content": {
- "note": "string",
- "shippingcost": 0,
- "invoicesupplierid": 0,
- "invoicedate": "string"
}
}
{- "content": [
- {
- "id": 0,
- "orderlistno": 0,
- "note": "string",
- "orderdate": "string",
- "orderids": [
- 0
], - "receiveditems": 0,
- "itemcount": 0,
- "invoicesupplierid": 0,
- "invoiceduedate": "string",
- "invoicedate": "string",
- "invoicesupplier": {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}, - "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "totalamount": 0,
- "totalreceived": 0,
- "totalinorder": 0,
- "totalpending": 0,
- "completed": true,
- "delivereddate": "string",
- "invoicenumber": "string",
- "shippingcost": 0
}
], - "count": 0,
- "hasMore": true
}
orderlistid required | integer |
expecteddelivery | string or null^\d{4}-\d{2}-\d{2}[T ]?\d{2}:\d{2}:\d{2} |
{- "expecteddelivery": "string"
}
{- "updated": 0
}
Represents changes to product stock and costprice
productid | integer The ID of the product |
stocktransactionlistid | integer The ID of the stock transaction list |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=50 Determine the number of items to fetch in one page. |
sort | string Default: "id" |
sortOrder | integer Default: -1 -1 being descending and 1 being ascending. |
committed_after | string Example: committed_after=2020-01-01 00:00:00 Get all stocktransactions committed after the given date |
{- "content": [
- {
- "id": 0,
- "productid": 0,
- "addtostock": null,
- "costpriceofaddeditems": 0,
- "totalcostpriceofaddeditems": 0,
- "expectedtotalcostprice": 29.95,
- "reason": "string",
- "stocktransactionlistid": null,
- "stocktransactionlist": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "stocknoafter": 0,
- "absoluteoverwrite": 0,
- "commit": 1,
- "committeddate": "string",
- "commitorder": 0,
- "createddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "miscdata": "string",
- "pospaymentmaterialid": 0,
- "pospaymentmaterial": {
- "paymentid": 0,
- "id": 0
}, - "fulfillmentmaterialid": 0,
- "fulfillmentmaterial": {
- "id": 0,
- "sales_order_fulfillment_id": 0
}, - "orderid": 0,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "costpriceavg": 0,
- "totalstockvalueavg": 0,
- "totalstockvaluefifo": 0,
- "totalcostpricefifo": 0,
- "userid": 0,
- "stocktransactiontagid": 0,
- "stocktransactiontag": {
- "id": 0,
- "title": "string",
- "handle": "string"
}, - "fromstocktransactionid": 0
}
], - "count": 0,
- "hasMore": true
}
partnerstoreid | integer Default: null Save transaction at partner store |
object (StockTransaction) Apply relative stock change to a product. If you want to apply a absolute change to a product stock. Set the value using PUT /product/{id} on stockno. |
Increase stock
{- "content": {
- "addtostock": 5,
- "productid": 4,
- "reason": "Delivery of items"
}
}
{- "content": {
- "id": 0,
- "productid": 0,
- "addtostock": null,
- "costpriceofaddeditems": 0,
- "totalcostpriceofaddeditems": 0,
- "expectedtotalcostprice": 29.95,
- "reason": "string",
- "stocktransactionlistid": null,
- "stocktransactionlist": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "stocknoafter": 0,
- "absoluteoverwrite": 0,
- "commit": 1,
- "committeddate": "string",
- "commitorder": 0,
- "createddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "miscdata": "string",
- "pospaymentmaterialid": 0,
- "pospaymentmaterial": {
- "paymentid": 0,
- "id": 0
}, - "fulfillmentmaterialid": 0,
- "fulfillmentmaterial": {
- "id": 0,
- "sales_order_fulfillment_id": 0
}, - "orderid": 0,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "costpriceavg": 0,
- "totalstockvalueavg": 0,
- "totalstockvaluefifo": 0,
- "totalcostpricefifo": 0,
- "userid": 0,
- "stocktransactiontagid": 0,
- "stocktransactiontag": {
- "id": 0,
- "title": "string",
- "handle": "string"
}, - "fromstocktransactionid": 0
}
}
stocktransactionId required | integer The product ID |
partnerstoreid | integer Default: 0 Example: partnerstoreid=100 |
{- "content": {
- "id": 0,
- "productid": 0,
- "addtostock": null,
- "costpriceofaddeditems": 0,
- "totalcostpriceofaddeditems": 0,
- "expectedtotalcostprice": 29.95,
- "reason": "string",
- "stocktransactionlistid": null,
- "stocktransactionlist": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "stocknoafter": 0,
- "absoluteoverwrite": 0,
- "commit": 1,
- "committeddate": "string",
- "commitorder": 0,
- "createddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "miscdata": "string",
- "pospaymentmaterialid": 0,
- "pospaymentmaterial": {
- "paymentid": 0,
- "id": 0
}, - "fulfillmentmaterialid": 0,
- "fulfillmentmaterial": {
- "id": 0,
- "sales_order_fulfillment_id": 0
}, - "orderid": 0,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "costpriceavg": 0,
- "totalstockvalueavg": 0,
- "totalstockvaluefifo": 0,
- "totalcostpricefifo": 0,
- "userid": 0,
- "stocktransactiontagid": 0,
- "stocktransactiontag": {
- "id": 0,
- "title": "string",
- "handle": "string"
}, - "fromstocktransactionid": 0
}
}
Stock transactions can be changed if they are not committed
stocktransactionId required | integer The product ID |
partnerstoreid | integer Default: null Save transaction at partner store |
object (StockTransaction) Apply relative stock change to a product. If you want to apply a absolute change to a product stock. Set the value using PUT /product/{id} on stockno. |
{- "content": {
- "addtostock": 5,
- "productid": 4,
- "reason": "Delivery of items",
- "commit": 1
}
}
{- "content": {
- "id": 0,
- "productid": 0,
- "addtostock": null,
- "costpriceofaddeditems": 0,
- "totalcostpriceofaddeditems": 0,
- "expectedtotalcostprice": 29.95,
- "reason": "string",
- "stocktransactionlistid": null,
- "stocktransactionlist": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "stocknoafter": 0,
- "absoluteoverwrite": 0,
- "commit": 1,
- "committeddate": "string",
- "commitorder": 0,
- "createddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "miscdata": "string",
- "pospaymentmaterialid": 0,
- "pospaymentmaterial": {
- "paymentid": 0,
- "id": 0
}, - "fulfillmentmaterialid": 0,
- "fulfillmentmaterial": {
- "id": 0,
- "sales_order_fulfillment_id": 0
}, - "orderid": 0,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "costpriceavg": 0,
- "totalstockvalueavg": 0,
- "totalstockvaluefifo": 0,
- "totalcostpricefifo": 0,
- "userid": 0,
- "stocktransactiontagid": 0,
- "stocktransactiontag": {
- "id": 0,
- "title": "string",
- "handle": "string"
}, - "fromstocktransactionid": 0
}
}
stocktransactionId required | integer The product ID |
{- "content": {
- "id": 0,
- "productid": 0,
- "addtostock": null,
- "costpriceofaddeditems": 0,
- "totalcostpriceofaddeditems": 0,
- "expectedtotalcostprice": 29.95,
- "reason": "string",
- "stocktransactionlistid": null,
- "stocktransactionlist": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "stocknoafter": 0,
- "absoluteoverwrite": 0,
- "commit": 1,
- "committeddate": "string",
- "commitorder": 0,
- "createddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "miscdata": "string",
- "pospaymentmaterialid": 0,
- "pospaymentmaterial": {
- "paymentid": 0,
- "id": 0
}, - "fulfillmentmaterialid": 0,
- "fulfillmentmaterial": {
- "id": 0,
- "sales_order_fulfillment_id": 0
}, - "orderid": 0,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "costpriceavg": 0,
- "totalstockvalueavg": 0,
- "totalstockvaluefifo": 0,
- "totalcostpricefifo": 0,
- "userid": 0,
- "stocktransactiontagid": 0,
- "stocktransactiontag": {
- "id": 0,
- "title": "string",
- "handle": "string"
}, - "fromstocktransactionid": 0
}
}
filter | string Deprecated Deprecated! . Filter expression. See https://restdocs.e-conomic.com/#filtering. |
freetext | string |
partnerstoreid | integer Default: 0 Example: partnerstoreid=100 |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=30 Determine the number of items to fetch in one page. |
includefromstore | integer or null 1 to include the store that sent the stock transaction, if present. 0 will not include the sender store. |
committed | integer Example: committed=1 1 to list committed lists, 0 to list non-committed lists |
committedAfter | string Query stock transaction lists committed after a given date. |
type | string (StockTransactionListType) Enum: "reception" "count" "move" Example: type=move |
{- "content": [
- {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}
], - "count": 5,
- "hasMore": true
}
partnerstoreid | integer or null Default: null Save transaction at partner store |
object (StockTransactionList) A list of stock transactions. Set commit = 1 to commit all transactions in a list. |
{- "partnerstoreid": null,
- "content": {
- "note": "string",
- "movetostoreid": null,
- "movetostoretransactionlist": { },
- "fromstocktransactionlistid": 0,
- "fromstore": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "type": "reception"
}
}
{- "content": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "totalcostprice": 0,
- "addtostocksum": 0,
- "errors": [
- {
- "errorcode": "INVALID_PRODUCTS",
- "message": "string"
}
]
}
A list of stock transactions. All stock transaction can commited
stocktransactionlistId required | integer The ID |
calculations | boolean Display |
{- "content": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "totalcostprice": 0,
- "addtostocksum": 0,
- "errors": [
- {
- "errorcode": "INVALID_PRODUCTS",
- "message": "string"
}
]
}
stocktransactionlistId required | integer The ID |
partnerstoreid | integer or null Default: null Save transaction at partner store |
object (StockTransactionList) A list of stock transactions. Set commit = 1 to commit all transactions in a list. |
{- "partnerstoreid": null,
- "content": {
- "note": "string",
- "movetostoreid": null,
- "movetostoretransactionlist": { },
- "fromstocktransactionlistid": 0,
- "fromstore": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "type": "reception"
}
}
{- "content": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "totalcostprice": 0,
- "addtostocksum": 0,
- "errors": [
- {
- "errorcode": "INVALID_PRODUCTS",
- "message": "string"
}
]
}
id required | integer The ID |
mode required | string Value: "create_list" |
paginationStart required | number |
paginationLength required | number |
{- "mode": "create_list",
- "paginationStart": 0,
- "paginationLength": 0
}
{- "failed": {
- "content": [
- {
- "transaction": {
- "id": 0,
- "productid": 0,
- "addtostock": null,
- "costpriceofaddeditems": 0,
- "totalcostpriceofaddeditems": 0,
- "expectedtotalcostprice": 29.95,
- "reason": "string",
- "stocktransactionlistid": null,
- "stocktransactionlist": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "stocknoafter": 0,
- "absoluteoverwrite": 0,
- "commit": 1,
- "committeddate": "string",
- "commitorder": 0,
- "createddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "miscdata": "string",
- "pospaymentmaterialid": 0,
- "pospaymentmaterial": {
- "paymentid": 0,
- "id": 0
}, - "fulfillmentmaterialid": 0,
- "fulfillmentmaterial": {
- "id": 0,
- "sales_order_fulfillment_id": 0
}, - "orderid": 0,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "costpriceavg": 0,
- "totalstockvalueavg": 0,
- "totalstockvaluefifo": 0,
- "totalcostpricefifo": 0,
- "userid": 0,
- "stocktransactiontagid": 0,
- "stocktransactiontag": {
- "id": 0,
- "title": "string",
- "handle": "string"
}, - "fromstocktransactionid": 0
}, - "error": "string"
}
], - "count": 0
}, - "succeeded": {
- "content": [
- {
- "id": 0,
- "productid": 0,
- "addtostock": null,
- "costpriceofaddeditems": 0,
- "totalcostpriceofaddeditems": 0,
- "expectedtotalcostprice": 29.95,
- "reason": "string",
- "stocktransactionlistid": null,
- "stocktransactionlist": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "stocknoafter": 0,
- "absoluteoverwrite": 0,
- "commit": 1,
- "committeddate": "string",
- "commitorder": 0,
- "createddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "miscdata": "string",
- "pospaymentmaterialid": 0,
- "pospaymentmaterial": {
- "paymentid": 0,
- "id": 0
}, - "fulfillmentmaterialid": 0,
- "fulfillmentmaterial": {
- "id": 0,
- "sales_order_fulfillment_id": 0
}, - "orderid": 0,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "costpriceavg": 0,
- "totalstockvalueavg": 0,
- "totalstockvaluefifo": 0,
- "totalcostpricefifo": 0,
- "userid": 0,
- "stocktransactiontagid": 0,
- "stocktransactiontag": {
- "id": 0,
- "title": "string",
- "handle": "string"
}, - "fromstocktransactionid": 0
}
], - "count": 0
}, - "failedListId": 0
}
orderlistid required | integer The ID |
note | string or null Note to the transactionlist |
partnerstoreid | integer or null If specified, stock transaction request will be sent to partner store |
{- "note": "string",
- "partnerstoreid": 0
}
{- "content": {
- "id": 0,
- "note": "string",
- "created": "string",
- "committeddate": "string",
- "commit": 0,
- "movetostoreid": null,
- "movetostoretransactionlist": {
- "id": 0,
- "committeddate": "string"
}, - "fromstocktransactionlistid": 0,
- "fromListNo": 0,
- "fromstore": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "orderlistno": 0,
- "inventorycountreportid": 0,
- "reportno": 0,
- "listno": 0,
- "invoicenumber": "string",
- "shippingcost": 0,
- "orderlistid": 0,
- "partnersyncdate": "string",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "type": "reception",
- "userid": 0
}, - "totalcostprice": 0,
- "addtostocksum": 0,
- "errors": [
- {
- "errorcode": "INVALID_PRODUCTS",
- "message": "string"
}
]
}
orderlistid required | integer The ID |
partnerstoreid required | integer |
selectedorders | Array of numbers |
{- "hasInvalidOrders": true,
- "content": [
- {
- "orderId": 0,
- "actualPartnerStockNo": 0,
- "partnerHasProduct": true,
- "order": {
- "id": 0,
- "productid": 0,
- "supplierid": 0,
- "amount": 0,
- "costprice": 29.95,
- "expectedtotalcostprice": 29.95,
- "added": "string",
- "materialid": 0,
- "taskid": 0,
- "orderlistno": 0,
- "orderlistid": 0,
- "delivereddate": "string",
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "received": 0,
- "inorder": 0,
- "pending": 0,
- "receivedstatus": "completed",
- "material": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "expecteddelivery": "string"
}, - "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
]
}
{- "content": {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
}
{- "content": {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
}
hasOrders | integer Default: 0 1 to include only suppliers that has orders |
filter | string Search string |
paginationStart | number Default: 0 Start of pagination |
paginationPageLength | number Default: 1000 Pagination page length |
allowDeleted | boolean Default: false Example: allowDeleted=true Include deleted suppliers in search |
{- "content": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "count": 0,
- "hasMore": true
}
id required | integer >= 0 Id to the relevant resource |
object (Supplier) |
{- "content": {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
}
{- "content": {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
}
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
}
filter | string Deprecated Deprecated! Use the taskid parameter instead. Filter expression. See https://restdocs.e-conomic.com/#filtering. |
taskid | integer Filter by task id |
excludeautocomment | Array of strings Array of autocomment values to exclude |
includenullautocomments | boolean Whether or not to include comment if autocomment is null, task comments have a autocomment of null by default |
paginationStart | number Default: 0 Start of pagination |
paginationPageLength | number <= 250 Default: 250 Pagination page length |
{- "content": [
- {
- "id": 1,
- "taskid": 1,
- "userid": 1,
- "comment": "A comment",
- "autocomment": "sms_task_created",
- "created": "2019-08-27 10:00:00",
- "smslogid": 0,
- "smslog": {
- "id": 1,
- "message": "string",
- "size": 2,
- "date": "string",
- "phone_e164": "string",
- "gateway_id": 1000,
- "gateway_status": "DELIVERED",
- "gateway_time": 1576748431,
- "sendtime": "string",
- "status": "RECEIVED",
- "inbound": 1,
- "country": "DK",
- "userid": 0,
- "template": "sms_task_created",
- "encoding": "gsm7"
}
}
], - "count": 5,
- "hasMore": true
}
{- "content": {
- "taskid": 1,
- "userid": 1,
- "comment": "A comment",
- "autocomment": "sms_task_created",
- "smslog": {
- "message": "string",
- "date": "string",
- "phone_e164": "string",
- "status": "RECEIVED"
}
}
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "userid": 1,
- "comment": "A comment",
- "autocomment": "sms_task_created",
- "created": "2019-08-27 10:00:00",
- "smslogid": 0,
- "smslog": {
- "id": 1,
- "message": "string",
- "size": 2,
- "date": "string",
- "phone_e164": "string",
- "gateway_id": 1000,
- "gateway_status": "DELIVERED",
- "gateway_time": 1576748431,
- "sendtime": "string",
- "status": "RECEIVED",
- "inbound": 1,
- "country": "DK",
- "userid": 0,
- "template": "sms_task_created",
- "encoding": "gsm7"
}
}
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "userid": 1,
- "comment": "A comment",
- "autocomment": "sms_task_created",
- "created": "2019-08-27 10:00:00",
- "smslogid": 0,
- "smslog": {
- "id": 1,
- "message": "string",
- "size": 2,
- "date": "string",
- "phone_e164": "string",
- "gateway_id": 1000,
- "gateway_status": "DELIVERED",
- "gateway_time": 1576748431,
- "sendtime": "string",
- "status": "RECEIVED",
- "inbound": 1,
- "country": "DK",
- "userid": 0,
- "template": "sms_task_created",
- "encoding": "gsm7"
}
}
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "userid": 1,
- "comment": "A comment",
- "autocomment": "sms_task_created",
- "created": "2019-08-27 10:00:00",
- "smslogid": 0,
- "smslog": {
- "id": 1,
- "message": "string",
- "size": 2,
- "date": "string",
- "phone_e164": "string",
- "gateway_id": 1000,
- "gateway_status": "DELIVERED",
- "gateway_time": 1576748431,
- "sendtime": "string",
- "status": "RECEIVED",
- "inbound": 1,
- "country": "DK",
- "userid": 0,
- "template": "sms_task_created",
- "encoding": "gsm7"
}
}
}
id required | integer >= 0 Id to the relevant resource |
object (TicketComment) |
{- "content": {
- "taskid": 1,
- "userid": 1,
- "comment": "A comment",
- "autocomment": "sms_task_created",
- "smslog": {
- "message": "string",
- "date": "string",
- "phone_e164": "string",
- "status": "RECEIVED"
}
}
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "userid": 1,
- "comment": "A comment",
- "autocomment": "sms_task_created",
- "created": "2019-08-27 10:00:00",
- "smslogid": 0,
- "smslog": {
- "id": 1,
- "message": "string",
- "size": 2,
- "date": "string",
- "phone_e164": "string",
- "gateway_id": 1000,
- "gateway_status": "DELIVERED",
- "gateway_time": 1576748431,
- "sendtime": "string",
- "status": "RECEIVED",
- "inbound": 1,
- "country": "DK",
- "userid": 0,
- "template": "sms_task_created",
- "encoding": "gsm7"
}
}
}
filter | string Deprecated Deprecated! Use the taskid parameter instead. Filter expression. See https://restdocs.e-conomic.com/#filtering. |
taskid | integer Filter by task id |
id | integer Filter by id |
paginationStart | number Default: 0 Start of pagination |
paginationPageLength | number <= 250 Default: 250 Pagination page length |
{- "content": [
- {
- "id": 1,
- "taskid": 1,
- "s3id": 1,
- "filename": "image.png",
- "size": 1024,
- "mime": "image/png",
- "src": null
}
], - "count": 5,
- "hasMore": true
}
{- "content": {
- "taskid": 1,
- "s3id": 1,
- "filename": "image.png",
- "size": 1024,
- "mime": "image/png",
- "src": null
}
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "s3id": 1,
- "filename": "image.png",
- "size": 1024,
- "mime": "image/png",
- "src": null
}
}
ticketid | integer An ID of the ticket the material is associated with. |
{- "content": [
- {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}
], - "count": 5,
- "hasMore": true
}
object (TicketMaterial) | |
positionaftermaterialid | number or null If this is set, the position of this material will be between positionaftermaterialid and the material below if (if it exists) |
positionbeforematerialid | number or null If this is set, the position of this material will be between positionbeforematerialid and the material above if (if it exists) |
{- "content": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "positionaftermaterialid": 0,
- "positionbeforematerialid": 0
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}
}
id required | integer >= 0 Id to the relevant resource |
{- "content": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}
}
id required | integer >= 0 Id to the relevant resource |
object (TicketMaterial) | |
positionaftermaterialid | number or null If this is set, the position of this material will be between positionaftermaterialid and the material below if (if it exists) |
positionbeforematerialid | number or null If this is set, the position of this material will be between positionbeforematerialid and the material above if (if it exists) |
{- "content": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "positionaftermaterialid": 0,
- "positionbeforematerialid": 0
}
{- "content": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}
}
{- "content": {
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
}
{- "content": {
- "id": 1,
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
}
filter | string Deprecated Filter expression. See https://restdocs.e-conomic.com/#filtering. |
sortOrder | integer Default: 1 Enum: -1 1 Example: sortOrder=1 Sorting order. If |
sortField | string Example: sortField=id Sort by |
paginationStart | integer Default: 0 Example: paginationStart=100 Determine the offset (in number of items) to fetch. This is usually a multiple of the pageLength. |
paginationPageLength | integer Default: 50 Example: paginationPageLength=50 Determine the number of items to fetch in one page. |
withPartnerStores | boolean Default: false Get partner store tickets |
tagids | Array of strings <= 100 items List of tag ids to restrict the search to. |
ids | Array of strings <= 100 items List of ids to restrict the search to. |
excludetagids | Array of strings <= 100 items List of tag ids that should not be in the task. |
updated_after | string Example: updated_after=2020-01-01 00:00:00 Get all tasks updated after the given date |
startDate | string or null Example: startDate=2020-01-01 00:00:00 Get tasks where pickup (and startTime if set) is after the given date |
endDate | string or null Example: endDate=2020-01-01 00:00:00 Get tasks where pickup (and startTime if set) is before the given date |
customerid | integer or null Id of customer assigned to the ticket |
customerarticleid | integer or null Id of customer article assigned to the ticket |
cardno | string or null Card number of the ticket |
allowDeleted | boolean Allow deleted tickets in response |
{- "content": [
- {
- "id": 1,
- "customerid": 234,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "customerarticleids": [
- 789
], - "customerarticles": [
- {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
], - "assignee": 555,
- "createByUserId": 555,
- "assigneeName": "Brian",
- "createByUserName": "John",
- "cardno": "456",
- "autoincrementno": 100,
- "description": "Bremsejustering (bag)",
- "created": "2018-08-01 14:00:00",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": null,
- "storeid": null,
- "createddate": null,
- "name": null,
- "phone": null,
- "phone_e164": null,
- "country": null,
- "email": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "addr_country": null,
- "lat": null,
- "lng": null,
- "birthdate": null,
- "ean": null,
- "vat": null,
- "customerno": null,
- "economic_customernumber": null,
- "economic_balance": null,
- "balance": null,
- "note": null,
- "draft": null,
- "deleted": null,
- "tags": [ ],
- "permission_marketing": null,
- "updated_at": null,
- "deleted_at": null,
- "loyaltypointsbalance": null,
- "loyalty_member_since": null,
- "loyalty_member_id": null,
- "store": { }
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": null,
- "customerarticleid": null,
- "serviceplanid": null,
- "serviceplan": null,
- "draft": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "startdate": null,
- "enddate": null,
- "price": null,
- "permission": null,
- "active": null
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- null
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": null,
- "preview_url": null,
- "full_url": null
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": null,
- "title": null,
- "cityname": null,
- "zipcode": null,
- "streetname": null,
- "streetno": null,
- "phone": null,
- "email": null,
- "created": null,
- "countrydata": null
}, - "customer": {
- "id": null,
- "storeid": null,
- "createddate": null,
- "name": null,
- "phone": null,
- "phone_e164": null,
- "country": null,
- "email": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "addr_country": null,
- "lat": null,
- "lng": null,
- "birthdate": null,
- "ean": null,
- "vat": null,
- "customerno": null,
- "economic_customernumber": null,
- "economic_balance": null,
- "balance": null,
- "note": null,
- "draft": null,
- "deleted": null,
- "tags": [ ],
- "permission_marketing": null,
- "updated_at": null,
- "deleted_at": null,
- "loyaltypointsbalance": null,
- "loyalty_member_since": null,
- "loyalty_member_id": null,
- "store": { }
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
], - "paid": true,
- "agreedPrice": 99.95,
- "numComments": 3,
- "totalPrice": 99.95,
- "draft": 1,
- "tags": [
- {
- "id": 1,
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
], - "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "templates": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
], - "count": 5,
- "hasMore": true
}
object (Ticket) A ticket representing a repair or work task. |
{- "content": {
- "customerid": 234,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "customerarticleids": [
- 789
], - "assignee": 555,
- "createByUserId": 555,
- "cardno": "456",
- "description": "Bremsejustering (bag)",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "customerid": 1,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "articles": [
- {
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "giftcardid": 0,
- "giftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discountToken": 0.3423,
- "discountedToken": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "note": "string",
- "permission": "none"
}
], - "agreedPrice": 99.95,
- "draft": 1,
- "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
}
{- "storeid": 0,
- "content": {
- "id": 1,
- "customerid": 234,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "customerarticleids": [
- 789
], - "customerarticles": [
- {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
], - "assignee": 555,
- "createByUserId": 555,
- "assigneeName": "Brian",
- "createByUserName": "John",
- "cardno": "456",
- "autoincrementno": 100,
- "description": "Bremsejustering (bag)",
- "created": "2018-08-01 14:00:00",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
], - "paid": true,
- "agreedPrice": 99.95,
- "numComments": 3,
- "totalPrice": 99.95,
- "draft": 1,
- "tags": [
- {
- "id": 1,
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
], - "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "templates": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
}
{- "storeid": 0,
- "content": {
- "id": 1,
- "customerid": 234,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "customerarticleids": [
- 789
], - "customerarticles": [
- {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
], - "assignee": 555,
- "createByUserId": 555,
- "assigneeName": "Brian",
- "createByUserName": "John",
- "cardno": "456",
- "autoincrementno": 100,
- "description": "Bremsejustering (bag)",
- "created": "2018-08-01 14:00:00",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
], - "paid": true,
- "agreedPrice": 99.95,
- "numComments": 3,
- "totalPrice": 99.95,
- "draft": 1,
- "tags": [
- {
- "id": 1,
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
], - "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "templates": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
}
id required | integer The ticket ID |
object (Ticket) A ticket representing a repair or work task. |
{- "content": {
- "customerid": 234,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "customerarticleids": [
- 789
], - "assignee": 555,
- "createByUserId": 555,
- "cardno": "456",
- "description": "Bremsejustering (bag)",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "customerid": 1,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "articles": [
- {
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "giftcardid": 0,
- "giftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": { }
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discountToken": 0.3423,
- "discountedToken": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "customerid": 1,
- "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "permission": "none",
- "updated_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "productid": 1,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "type": "giftcard",
- "store": {
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "expirationdate": "string"
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "followproductno": "string"
}, - "draft": 0,
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": { },
- "active": true
}, - "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "note": "string",
- "permission": "none"
}
], - "agreedPrice": 99.95,
- "draft": 1,
- "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "name": "John Doe",
- "phone": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00"
}, - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
}
{- "storeid": 0,
- "content": {
- "id": 1,
- "customerid": 234,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "customerarticleids": [
- 789
], - "customerarticles": [
- {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
], - "assignee": 555,
- "createByUserId": 555,
- "assigneeName": "Brian",
- "createByUserName": "John",
- "cardno": "456",
- "autoincrementno": 100,
- "description": "Bremsejustering (bag)",
- "created": "2018-08-01 14:00:00",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
], - "paid": true,
- "agreedPrice": 99.95,
- "numComments": 3,
- "totalPrice": 99.95,
- "draft": 1,
- "tags": [
- {
- "id": 1,
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
], - "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "templates": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
}
{- "storeid": 0,
- "content": {
- "id": 1,
- "customerid": 234,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "customerarticleids": [
- 789
], - "customerarticles": [
- {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
], - "assignee": 555,
- "createByUserId": 555,
- "assigneeName": "Brian",
- "createByUserName": "John",
- "cardno": "456",
- "autoincrementno": 100,
- "description": "Bremsejustering (bag)",
- "created": "2018-08-01 14:00:00",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
], - "paid": true,
- "agreedPrice": 99.95,
- "numComments": 3,
- "totalPrice": 99.95,
- "draft": 1,
- "tags": [
- {
- "id": 1,
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
], - "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "templates": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
}
ticketId required | integer >= 0 |
{- "storeid": 0,
- "content": {
- "id": 1,
- "customerid": 234,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "customerarticleids": [
- 789
], - "customerarticles": [
- {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}
], - "assignee": 555,
- "createByUserId": 555,
- "assigneeName": "Brian",
- "createByUserName": "John",
- "cardno": "456",
- "autoincrementno": 100,
- "description": "Bremsejustering (bag)",
- "created": "2018-08-01 14:00:00",
- "startTime": "2018-08-03 16:15:00",
- "pickup": "2018-08-03 17:15:00",
- "payments": [
- {
- "id": 0,
- "paymentno": 0,
- "userid": 1,
- "customerid": 1,
- "date": "string",
- "numberofmaterials": 1,
- "sum": 1,
- "discountsum": 0,
- "remainingamount": 0,
- "cashRegisterId": 1,
- "cashRegisterTitle": "string",
- "updated_at": "2022-03-10 00:00:00",
- "invoice": 0,
- "customerpayment": 0,
- "cashregister": {
- "title": "string",
- "id": 0
}, - "user": {
- "name": "string",
- "id": 0
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "articles": [
- {
- "id": 0,
- "title": "string",
- "price": 100,
- "costprice": 0,
- "quantity": 0,
- "vat": 25,
- "vatmode": "normal",
- "pricewithoutvat": 80,
- "vatamount": 0,
- "giftcardno": "string",
- "usedGiftcardId": 0,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "giftcardid": 0,
- "giftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "customerarticleid": 0,
- "productno": "voucher",
- "productid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- null
], - "auto_create_orderlist_months": [
- null
], - "auto_create_orderlist_day_of_month": [
- null
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "taskmaterialid": 0,
- "discount_ppm_id": 0,
- "paymentid": 0,
- "deletedpromotion": 0,
- "discounttagid": 0,
- "discounttag": {
- "id": 1,
- "label": "Bestillingsvarer",
- "handle": "string"
}, - "promotionid": 0,
- "taskmaterial": {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": null,
- "title": null,
- "handle": null,
- "servicecallgroupid": null,
- "servicecallgroupids": [ ],
- "servicecallgroup": null,
- "servicecallgroups": [ ],
- "producttagidsrestriction": [ ],
- "producttaghandlesrestriction": [ ],
- "producttagsrestriction": [ ],
- "visibility": null,
- "price": null,
- "terms": null,
- "updated_at": null,
- "created_at": null,
- "deleted_at": null,
- "followproductno": null
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": null,
- "write": null
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": null,
- "name": null,
- "email": null,
- "customerno": null,
- "address": null,
- "city": null,
- "zipcode": null,
- "note": null,
- "handle": null,
- "accountnumber": null,
- "auto_create_orderlist": null,
- "auto_create_orderlist_frequency": null,
- "auto_create_orderlist_day_of_week": [ ],
- "auto_create_orderlist_months": [ ],
- "auto_create_orderlist_day_of_month": [ ]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": null,
- "currency": null,
- "smsprice_dkk": null,
- "smsprice_eur": null,
- "eu": null
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": null,
- "title": null
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- null
], - "servicecallgroup": {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}, - "servicecallgroups": [
- null
], - "producttagidsrestriction": [
- null
], - "producttaghandlesrestriction": [
- null
], - "producttagsrestriction": [
- null
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}, - "bundleid": 0,
- "type": "string",
- "recurringpaymentid": 0,
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- null
], - "vatmode": null,
- "templates": [
- null
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "producttags": [ ],
- "vatmode": null,
- "templates": [ ],
- "deleted_at": null
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "loyaltypoints": 0,
- "addonparentmaterialid": 0,
- "date": "The date of when the material is added",
- "salesorder_fulfillment": false
}
], - "taskids": [
- 0
], - "salesOrderId": 0,
- "paidwithcash": 0,
- "paymenttypes": [
- {
- "id": 0,
- "title": "Cash",
- "paymenttypeid": 0,
- "amount": 123.45,
- "unroundedcash": 123,
- "cash": 0,
- "bamdesk_messageid": 4343,
- "accountno": "1234",
- "currency": "DKK",
- "exchangerate": 0,
- "receipts": [
- "string"
], - "receiptsCount": 0,
- "mobilepayid": "string",
- "paymentid": 0,
- "stripe_intentsecret": "string",
- "stripe_intentid": "string",
- "vipps_reference_id": "string",
- "error_message": "string",
- "provider": "mobilepay",
- "status": "initiated"
}
], - "storeid": 0,
- "customerpaymentsum": 0,
- "cash": 0,
- "secondhand": 0,
- "status": "initialized",
- "returnpaymentid": 0,
- "lastmodifiedbyuserid": 0,
- "lastmodifiedbyuser": {
- "name": "string",
- "id": 0
}, - "note": "string",
- "permission": "none"
}
], - "paid": true,
- "agreedPrice": 99.95,
- "numComments": 3,
- "totalPrice": 99.95,
- "draft": 1,
- "tags": [
- {
- "id": 1,
- "label": "Bestillingsvarer",
- "color": "#ff0039",
- "handle": "string"
}
], - "tagids": [
- 0
], - "status": "new",
- "type": "repair",
- "taskserviceid": 0,
- "storeid": 0,
- "payingcustomerid": 0,
- "payingcustomer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "templates": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "permission": "none",
- "workload": 1.25
}
}
ticketId required | integer >= 0 |
barcodes | Array of strings |
{- "barcodes": [
- "string"
]
}
{- "content": [
- {
- "id": 1,
- "taskid": 1,
- "title": "Bike",
- "amount": 5,
- "customerarticleid": 1,
- "customerarticle": {
- "id": 1,
- "dateadded": "2019-08-27 10:00:00",
- "customerid": 1,
- "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "title": "Kildemoes Cykel",
- "serieno": "1231232",
- "color": "Blue",
- "size": "Large",
- "customfield1": "Gear",
- "customfield2": "123123",
- "customfield3": "123123",
- "customfield4": "123123",
- "storeid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": null,
- "id": null,
- "accountno": null,
- "promotionfilter": null,
- "handle": null,
- "position": null,
- "positionafterid": null,
- "positionbeforeid": null
}
], - "vatmode": null,
- "templates": [
- {
- "id": null,
- "title": null,
- "enabled": null,
- "days": null,
- "template": null,
- "absolute": null,
- "noticedate": null,
- "day": null,
- "month": null,
- "year": null,
- "includeinprint": null,
- "task_service_group_id": null,
- "deleted_at": null
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "hasservicenotices": true,
- "servicenotices_count": 0,
- "permission": "none",
- "deleted": 0,
- "updated_at": "2022-03-10 00:00:00",
- "last_sold_at": "2022-03-10 00:00:00"
}, - "price": 100,
- "costprice": 30,
- "pricewithoutvat": 80,
- "calculatedvat": 0,
- "productid": 1,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "productno": 1,
- "discount_tm_id": 1,
- "usedGiftcardid": 1,
- "usedGiftcard": {
- "id": 0,
- "giftcardno": "1234567891234",
- "amount": 100,
- "amountspent": 50,
- "paymentid": 0,
- "type": "giftcard",
- "store": {
- "id": 0,
- "title": "string",
- "cityname": "string",
- "zipcode": "string",
- "streetname": "string",
- "streetno": "string",
- "phone": "string",
- "email": "string",
- "created": "string",
- "countrydata": {
- "code": "DK",
- "currency": "DKK",
- "smsprice_dkk": 0.48,
- "smsprice_eur": 0.06,
- "eu": true
}
}, - "customer": {
- "id": 1,
- "storeid": 1,
- "createddate": "2019-01-02 01:02:03",
- "name": "John Doe",
- "phone": "+4533608586",
- "phone_e164": "+4533608586",
- "country": "dk",
- "email": "johndoe@example.com",
- "address": "Andebyvej 1",
- "city": "Odense",
- "zipcode": "5000",
- "addr_country": "dk",
- "lat": 0,
- "lng": 0,
- "birthdate": "1993-12-31",
- "ean": "12345678",
- "vat": "12345678",
- "customerno": "19181715",
- "economic_customernumber": 12345678,
- "economic_balance": 256.64,
- "balance": 123.45,
- "note": "Pays on time.",
- "draft": 0,
- "deleted": 0,
- "tags": [ ],
- "permission_marketing": "2022-03-10 00:00:00",
- "updated_at": "2022-03-10 00:00:00",
- "deleted_at": "2022-03-10 00:00:00",
- "loyaltypointsbalance": 0,
- "loyalty_member_since": "string",
- "loyalty_member_id": 0,
- "store": {
- "id": 1,
- "title": "string"
}
}, - "vat": 0,
- "productid": 0,
- "productno": "string",
- "createddate": "string",
- "expirationdate": "string",
- "expired": false,
- "deleted_at": "string",
- "deleted": false
}, - "promotionid": 1,
- "deletedpromotion": 1,
- "expecteddeliveries": [
- "string"
], - "position": 0,
- "discounttagid": 0,
- "discounttaglabel": "string",
- "bundleid": 0,
- "type": "string",
- "servicesubscriptionid": 0,
- "servicesubscription": {
- "id": 1,
- "customerarticleid": 0,
- "serviceplanid": 0,
- "serviceplan": {
- "id": 1,
- "title": "string",
- "handle": "string",
- "servicecallgroupid": 0,
- "servicecallgroupids": [
- 0
], - "servicecallgroup": {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": null,
- "end": null
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}, - "servicecallgroups": [
- {
- "id": 0,
- "title": "El-cykel",
- "enabled": true,
- "producttags": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": null,
- "date": { }
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "vatmode": null,
- "templates": [
- {
- "id": 12,
- "title": "1. Service",
- "enabled": true,
- "days": 60,
- "template": "Hej [customer_name] det er tid til første service af din nye cykel. Kig ind eller ring til os på [store_phone]",
- "absolute": true,
- "noticedate": "2027-11-01T12:00:00+01:00",
- "day": 2,
- "month": "March",
- "year": 3,
- "includeinprint": true,
- "task_service_group_id": 12,
- "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "deleted_at": "2024-02-23T09:37:20.000000Z"
}
], - "producttagidsrestriction": [
- 0
], - "producttaghandlesrestriction": [
- "string"
], - "producttagsrestriction": [
- {
- "title": "string",
- "id": 0,
- "accountno": 0,
- "promotionfilter": {
- "amount": 0,
- "date": {
- "start": "string",
- "end": "string"
}
}, - "handle": "string",
- "position": 23.04,
- "positionafterid": 0,
- "positionbeforeid": 0
}
], - "visibility": "all",
- "price": 0,
- "terms": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "followproductno": "string"
}, - "draft": 0,
- "updated_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "startdate": "string",
- "enddate": "string",
- "price": 0,
- "permission": {
- "read": true,
- "write": true
}, - "active": true
}, - "availablestock": 0,
- "availablestockexceeded": true,
- "amountpaid": 0,
- "addonparentmaterialid": 0
}
], - "count": 5,
- "hasMore": true
}
content | Array of numbers Array of customer article ids |
protect | boolean Default: true only allow to add servicenotices to customer articles that have no servicenotices beforehand |
useoriginaldate | boolean Default: false Use the latest selling date from each customer article as the origin date instead of using the date of today. Only servicenotifications that are on dates after today are generated |
{- "content": [
- 0
], - "protect": true,
- "useoriginaldate": false
}
{- "content": [
- {
- "id": 0,
- "success": true,
- "message": "string"
}
]
}
content | Array of numbers Array of customer article ids |
{- "content": [
- 0
]
}
{- "content": [
- {
- "id": 0,
- "success": true,
- "message": "string"
}
]
}
object (TicketTemplate) | |
positionAfterId | number or null If this is set, the position of this TicketTemplate will be between positionaftermaterialid and the TicketTemplate below if (if it exists) |
positionBeforeId | number or null If this is set, the position of this TicketTemplate will be between positionbeforematerialid and the TicketTemplate above if (if it exists) |
{- "content": {
- "label": "Bestillingsvarer",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "positionAfterId": 0,
- "positionBeforeId": 0
}
{- "content": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}
}
id required | integer |
object (TicketTemplate) | |
positionAfterId | number or null If this is set, the position of this TicketTemplate will be between positionaftermaterialid and the TicketTemplate below if (if it exists) |
positionBeforeId | number or null If this is set, the position of this TicketTemplate will be between positionbeforematerialid and the TicketTemplate above if (if it exists) |
{- "content": {
- "label": "Bestillingsvarer",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "positionAfterId": 0,
- "positionBeforeId": 0
}
{- "content": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}
}
object (TicketTemplateGroup) | |
positionAfterId | number or null If this is set, the position of this TicketTemplateGroup will be between positionafterid and the TicketTemplateGroup below it (if it exists) |
positionBeforeId | number or null If this is set, the position of this TicketTemplateGroup will be between positionbeforeid and the TicketTemplateGroup above it (if it exists) |
{- "content": {
- "name": "Food",
- "tickettype": "repair",
- "position": 0
}, - "positionAfterId": 0,
- "positionBeforeId": 0
}
{- "content": {
- "id": 1,
- "name": "Food",
- "tickettype": "repair",
- "created_at": "string",
- "updated_at": "string",
- "position": 0
}
}
id required | integer |
object (TicketTemplateGroup) | |
positionAfterId | number or null If this is set, the position of this TicketTemplateGroup will be between positionafterid and the TicketTemplateGroup below it (if it exists) |
positionBeforeId | number or null If this is set, the position of this TicketTemplateGroup will be between positionbeforeid and the TicketTemplateGroup above it (if it exists) |
{- "content": {
- "name": "Food",
- "tickettype": "repair",
- "position": 0
}, - "positionAfterId": 0,
- "positionBeforeId": 0
}
{- "content": {
- "id": 1,
- "name": "Food",
- "tickettype": "repair",
- "created_at": "string",
- "updated_at": "string",
- "position": 0
}
}
ticketTemplateId required | integer >= 0 |
object (TicketTemplateMaterial) |
{- "content": {
- "amount": 0,
- "price": 0,
- "title": "string",
- "productno": "string",
- "tasktemplateid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
}
{- "content": {
- "id": 1,
- "amount": 0,
- "price": 0,
- "title": "string",
- "derivedprice": 0,
- "productno": "string",
- "tasktemplateid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
{- "content": [
- {
- "id": 1,
- "amount": 0,
- "price": 0,
- "title": "string",
- "derivedprice": 0,
- "productno": "string",
- "tasktemplateid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "created_at": "string",
- "updated_at": "string"
}
]
}
ticketTemplateId required | integer >= 0 |
id required | integer |
{- "content": {
- "id": 1,
- "amount": 0,
- "price": 0,
- "title": "string",
- "derivedprice": 0,
- "productno": "string",
- "tasktemplateid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
ticketTemplateId required | integer >= 0 |
id required | integer |
{- "content": {
- "id": 1,
- "amount": 0,
- "price": 0,
- "title": "string",
- "derivedprice": 0,
- "productno": "string",
- "tasktemplateid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
ticketTemplateId required | integer >= 0 |
id required | integer |
object (TicketTemplateMaterial) |
{- "content": {
- "amount": 0,
- "price": 0,
- "title": "string",
- "productno": "string",
- "tasktemplateid": 0,
- "product": {
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "stockmin": null,
- "stockmax": null,
- "suppliers": [
- {
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "discountprice": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "image": { },
- "availabletoorder": 1,
- "syncproductdatawebshop": 0
}
}
}
{- "content": {
- "id": 1,
- "amount": 0,
- "price": 0,
- "title": "string",
- "derivedprice": 0,
- "productno": "string",
- "tasktemplateid": 0,
- "product": {
- "id": 0,
- "title": "Scott Scale 960",
- "productno": "string",
- "barcode": "string",
- "alternativebarcode": "string",
- "serieno": "string",
- "price": 100,
- "pricewithoutvat": 80,
- "costprice": 8.65,
- "recommendedretailprice": 99.95,
- "stockno": 0,
- "previousstockno": 0,
- "stocknochangetype": "absolute",
- "stockmin": null,
- "stockmax": null,
- "suppliername": "string",
- "suppliers": [
- {
- "id": 1,
- "name": "Johnson",
- "email": "johnson@doe.com",
- "customerno": 2413,
- "address": "A place",
- "city": "London",
- "zipcode": 2412,
- "note": "Sells bike parts",
- "handle": "string",
- "accountnumber": 0,
- "auto_create_orderlist": true,
- "auto_create_orderlist_frequency": "daily",
- "auto_create_orderlist_day_of_week": [
- 0
], - "auto_create_orderlist_months": [
- 0
], - "auto_create_orderlist_day_of_month": [
- 0
]
}
], - "color": "string",
- "styleno": "string",
- "size": "string",
- "brand": "string",
- "vat": 100,
- "lastordered": "string",
- "tags": [ ],
- "customfield1": "string",
- "customfield2": "string",
- "customfield3": "string",
- "customfield4": "string",
- "created": "string",
- "reservedstock": 0,
- "totalstock": 0,
- "totalavailablestock": 0,
- "tobeordered": 0,
- "onshoppinglist": 0,
- "ordered": 0,
- "needsordering": 0,
- "discountprice": 0,
- "calculcatedvat": 0,
- "webshopurl": "string",
- "vatmode": "normal",
- "updated_at": "2022-03-10 00:00:00",
- "storeid": 0,
- "image": {
- "blurhash": "string",
- "preview_url": "string",
- "full_url": "string"
}, - "availabletoorder": 1,
- "syncproductdatawebshop": 0
}, - "created_at": "string",
- "updated_at": "string"
}
}
ticketId required | integer >= 0 |
object (TicketTemplateRelation) | |
positionAfterId | number or null If this is set, the position of this TicketTemplateRelation will be between positionaftermaterialid and the TicketTemplateRelation below if (if it exists) |
positionBeforeId | number or null If this is set, the position of this TicketTemplateRelation will be between positionbeforematerialid and the TicketTemplateRelation above if (if it exists) |
{- "content": {
- "template": {
- "label": "Bestillingsvarer",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0
}, - "positionAfterId": 0,
- "positionBeforeId": 0
}
{- "content": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "materialsChanged": true
}
{- "content": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "materialsChanged": true
}
ticketId required | integer >= 0 |
ticketTemplateId required | integer >= 0 |
{- "content": [
- {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
], - "materialsChanged": true
}
ticketId required | integer >= 0 |
ticketTemplateId required | integer >= 0 |
object (TicketTemplateRelation) | |
positionAfterId | number or null If this is set, the position of this TicketTemplateRelation will be between positionaftermaterialid and the TicketTemplateRelation below if (if it exists) |
positionBeforeId | number or null If this is set, the position of this TicketTemplateRelation will be between positionbeforematerialid and the TicketTemplateRelation above if (if it exists) |
{- "content": {
- "template": {
- "label": "Bestillingsvarer",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0
}, - "positionAfterId": 0,
- "positionBeforeId": 0
}
{- "content": {
- "id": 1,
- "ticketid": 1,
- "templateid": 0,
- "template": {
- "id": 1,
- "label": "Bestillingsvarer",
- "groupid": 0,
- "created_at": "string",
- "updated_at": "string",
- "handle": "string",
- "position": 0,
- "note": "string",
- "duedate": "string"
}, - "note": "Task template relation note",
- "duedate": "2024-08-03 17:15:00",
- "updated_at": "2023-08-03 17:15:00",
- "created_at": "2023-08-03 17:15:00",
- "notified_at": "2023-08-03 17:15:00",
- "status": "initialized",
- "status_changed_by_userid": 3,
- "timespent": 0,
- "position": 0,
- "label": "string",
- "handle": "string",
- "groupid": 0
}
}
{- "content": {
- "name": "string",
- "email": "user@example.com",
- "amount": 0,
- "shopuser": 0,
- "apiuser": 0,
- "restrictions": [
- "POSBalanceModule"
], - "showincalendar": 0,
- "newauthuser": 0
}
}
{- "content": {
- "id": 0,
- "name": "string",
- "email": "user@example.com",
- "amount": 0,
- "shopuser": 0,
- "apiuser": 0,
- "hasPasscode": 0,
- "hasPassword": 0,
- "apitoken": "string",
- "restrictions": [
- "POSBalanceModule"
], - "deleted": 0,
- "mainuser": 0,
- "showincalendar": 0,
- "newauthuser": 0
}, - "apitoken": "string"
}
withTrashed | boolean Default: true Example: withTrashed=true return soft deleted users |
{- "content": [
- {
- "id": 0,
- "name": "string",
- "email": "user@example.com",
- "amount": 0,
- "shopuser": 0,
- "apiuser": 0,
- "hasPasscode": 0,
- "hasPassword": 0,
- "apitoken": "string",
- "restrictions": [
- "POSBalanceModule"
], - "deleted": 0,
- "mainuser": 0,
- "showincalendar": 0,
- "newauthuser": 0
}
]
}
id required | integer >= 0 Id to the relevant resource |
password | string or null |
currentPassword | string or null |
string or null |
{- "password": "string",
- "currentPassword": "string",
- "email": "string"
}
id required | integer |
object (User) |
{- "content": {
- "name": "string",
- "email": "user@example.com",
- "amount": 0,
- "shopuser": 0,
- "apiuser": 0,
- "restrictions": [
- "POSBalanceModule"
], - "showincalendar": 0,
- "newauthuser": 0
}
}
{- "content": {
- "id": 0,
- "name": "string",
- "email": "user@example.com",
- "amount": 0,
- "shopuser": 0,
- "apiuser": 0,
- "hasPasscode": 0,
- "hasPassword": 0,
- "apitoken": "string",
- "restrictions": [
- "POSBalanceModule"
], - "deleted": 0,
- "mainuser": 0,
- "showincalendar": 0,
- "newauthuser": 0
}, - "apitoken": "string"
}