Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
How to successfully harvest data using this endpoint:
Fetch locally stored lastReplicationTimestamp if applicaple
Call max endpoint and store MaxTimestamp.
Call updates endpoint with parameters: from = lastReplicationTimestamp
, to = MaxTimestamp
(and lastoffsetid = nextoffsetid
from previous batch)
Call softdeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Call harddeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Save the stored value from step 2 (MaxTimestamp) as the new lastReplicationTimestamp
This returns the max timestamp for a specific entity in order to know if there are relevant changes.
?> It is possible the reported max timestamp is irrelevant for the client/consumer (i.e. when using a filter with the related endpoints), in which case it would simply trigger an update routine with no changes.
URL : /:organizationid/:wsmid/api/v1/lookuplistitem/max
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/lookuplistitem/:service/updates
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Soft deletes are documents from the same collection not matching the service filter
. If there is no active filter (e.g. using the "default" service) - an empty result will be returned.
URL : /:organizationid/:wsmid/api/v1/lookuplistitem/:service/softdeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Hard deletes are documents no longer in the collection.
?> It is possible the returned items are irrelevant for the client/consumer (i.e. when using a filter with the related endpoints). Match with existing IDs when appropriate.
URL : /:organizationid/:wsmid/api/v1/lookuplistitem/harddeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
?> Note that documentid
and item id do not match. Only supply values provided by the endpoint though nextoffsetid
.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
How to successfully harvest data using this endpoint:
Fetch total items by sending a request with limit set to 0.
Page though the results with limit and offset.
URL : /:organizationid/:wsmid/api/v1/order/customer/:customer
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
customer=[string]
is the ID of the customer.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
(optional) offset=[int]
number of items to skip. Default = 0.
(optional) keyword=[string]
search for part of an ID or lines if applyKeywordToLines is set to true.
(optional) applyKeywordToLines=[boolean]
extend search with part of productname on lines.
(optional) orderby=[string]
order results by field. One of: orderdate
(default), deliverydate
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/order/:orderid
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
orderid=[string]
is the ID of the order.
documentid=[string]
is the ID of the document.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Order ID missing. Code: 404 NOT FOUND
How to successfully harvest data using this endpoint:
Fetch locally stored lastReplicationTimestamp if applicaple
Call max endpoint and store MaxTimestamp.
Call updates endpoint with parameters: from = lastReplicationTimestamp
, to = MaxTimestamp
(and lastoffsetid = nextoffsetid
from previous batch)
Call softdeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Call harddeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Save the stored value from step 2 (MaxTimestamp) as the new lastReplicationTimestamp
This returns the max timestamp for a specific entity in order to know if there are relevant changes.
?> It is possible the reported max timestamp is irrelevant for the client/consumer (i.e. when using a filter with the related endpoints), in which case it would simply trigger an update routine with no changes.
URL : /:organizationid/:wsmid/api/v1/member/max
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/member/:service/updates
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Soft deletes are documents from the same collection not matching the service filter
. If there is no active filter (e.g. using the "default" service) - an empty result will be returned.
URL : /:organizationid/:wsmid/api/v1/member/:service/softdeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Hard deletes are documents no longer in the collection.
?> It is possible the returned items are irrelevant for the client/consumer (i.e. when using a filter with the related endpoints). Match with existing IDs when appropriate.
URL : /:organizationid/:wsmid/api/v1/member/harddeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
?> Note that documentid
and item id do not match. Only supply values provided by the endpoint though nextoffsetid
.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v0.1/member/:memberid/address
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
memberid=[string]
is the ID of the Member which address is to be updated.
Method: PATCH
Auth required: YES
Authorization required: write
Request headers:
Content-Type: application/json
Request body:
Only the properties in the request are modified. If properties are included but has no value, it's value will be deleted, so make sure to only include properties that are to be modified.
If no address exists, it is created with empty fields (except the ones included in payload).
Request example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid member. Code: 404 NOT FOUND
Condition: The member was probably modified by another application underway. Try again Code: 409 CONFLICT
URL : /:organizationid/:wsmid/api/v0.1/member
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Method: POST
Auth required: YES
Authorization required: write
Request headers:
Content-Type: application/json
Request example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: The member email has a conflict with another member Code: 409 CONFLICT
How to successfully harvest data using this endpoint:
Fetch total items by sending a request with limit set to 0.
Page though the results with limit and offset.
URL : /:organizationid/:wsmid/api/v1/orderdocument/customer/:customer
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
customer=[string]
is the ID of the customer.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) type=[string]
returns items of the document type.
?> Possible document types are: Invoice, PackingSlip, Unknown, ProformaInvoice, Confirmation, Offer, Custom, CreditMemo
(optional) limit=[int]
number of items returned. Default = 1000.
(optional) offset=[int]
number of items to skip. Default = 0.
(optional) keyword=[string]
search for part of an ID or lines if applyKeywordToLines is set to true.
(optional) applyKeywordToLines=[boolean]
extend search with part of productname on lines.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/orderdocument/:orderid/:documentid
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
orderid=[string]
is the ID of the order.
documentid=[string]
is the ID of the document.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Order ID and Document ID missing. Code: 404 NOT FOUND
This returns a represenation of a product.
URL : /:organizationid/:pimid/api/v0.1/product/:productid
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
productid=[string]
is the ID of the Product to be updated.
Method: GET
Auth required: YES
Authorization required: read
Response headers:
Last-Modified:
Timestamp when the product was last modified
Response body example
This returns a represenation of a product.
URL : /:organizationid/:pimid/api/v0.1/products
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
Method: POST
Auth required: YES
Authorization required: read
Request example
Response example
Code: 200 OK
URL : /:organizationid/:pimid/api/v0.1/product/:productid
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
productid=[string]
is the ID of the Product to be updated.
Method: PATCH
Auth required: YES
Authorization required: write
Request headers:
If-Unmodified-Since:
Content of the Last-Modified
of the GET-call
X-BatchId:
batchid if running a "full" import and afterwards deleting all entries without matching batchid
Only the properties in the request are modified. If properties are included but has no value, it's value will be deleted, so make sure to only include properties that are to be modified.
Request example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid product. Code: 404 NOT FOUND
Condition: Update cannot be processed due to read-only, erp-mapped field etc. Code: 422 UNPROCESSABLE ENTITY
Condition: The product was modified since GET/If-Modified-Since timestamp Code: 412 PRECONDITION FAILED
URL : /:organizationid/:pimid/api/v0.1/products
URL Parameters:
organizationid=[string]
is the ID of the chainbox.io organization.
pimid=[string]
is the APP ID of the PIM application.
Method: PATCH
Request headers:
X-BatchId:
batchid if running a "full" import and afterwards deleting all entries without matching batchid
Auth required: YES
Authorization required: write
Only the properties in the request are modified. If properties are included but has no value, it's value will be deleted, so make sure to only include properties that are to be modified.
Request example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing one or more invalid products. Code: 400 BAD REQUEST
Condition: Update cannot be processed due to read-only, erp-mapped field etc. Code: 422 UNPROCESSABLE ENTITY
How to successfully harvest data using this endpoint:
Fetch locally stored lastReplicationTimestamp if applicaple
Call max endpoint and store MaxTimestamp.
Call updates endpoint with parameters: from = lastReplicationTimestamp
, to = MaxTimestamp
(and lastoffsetid = nextoffsetid
from previous batch)
Call softdeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Call harddeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Save the stored value from step 2 (MaxTimestamp) as the new lastReplicationTimestamp
This returns the max timestamp for a specific entity in order to know if there are relevant changes.
?> It is possible the reported max timestamp is irrelevant for the client/consumer (i.e. when using a filter with the related endpoints), in which case it would simply trigger an update routine with no changes.
URL : /:organizationid/:wsmid/api/v1/voucher/max
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/voucher/:service/updates
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Soft deletes are documents from the same collection not matching the service filter
. If there is no active filter (e.g. using the "default" service) - an empty result will be returned.
URL : /:organizationid/:wsmid/api/v1/voucher/:service/softdeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Hard deletes are documents no longer in the collection.
?> It is possible the returned items are irrelevant for the client/consumer (i.e. when using a filter with the related endpoints). Match with existing IDs when appropriate.
URL : /:organizationid/:wsmid/api/v1/voucher/harddeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
?> Note that documentid
and item id do not match. Only supply values provided by the endpoint though nextoffsetid
.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
This returns the voucher status
for a specific voucher.
?> Possible values include: Unused, Added, Used
URL : /:organizationid/:wsmid/api/v1/voucher/getstatus/:documentid
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
documentid=[string]
is the Document ID
of the voucher.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Invalid voucher refenrence. Code: 404 NOT FOUND
This updates the voucher status
for a specific voucher.
?> Possible values include: Unused, Added, Used
URL : /:organizationid/:wsmid/api/v1/voucher/updatestatus/:documentid
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
documentid=[string]
is the Document ID
of the voucher.
POST Body Parameters: VoucherStatus=[string (Unused|Added|Used)]
is the new status for the voucher.
Method: POST
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
No response data is returned.
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Invalid payload. Code: 400 BAD REQUEST
/product
Max, Updates, Softdeletes, Harddeletes
/productcategory
Max, Updates, Softdeletes, Harddeletes
/order
Get customer orders, Get order
/orderdocument
Get customer orderdocuments, Get orderdocument
/lookuplistitems
Max, Updates, Softdeletes, Harddeletes
/voucher
Max, Updates, Softdeletes, Harddeletes Get status, Update status
How to successfully harvest data using this endpoint:
Fetch locally stored lastReplicationTimestamp if applicaple
Call max endpoint and store MaxTimestamp.
Call updates endpoint with parameters: from = lastReplicationTimestamp
, to = MaxTimestamp
(and lastoffsetid = nextoffsetid
from previous batch)
Call softdeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Call harddeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Save the stored value from step 2 (MaxTimestamp) as the new lastReplicationTimestamp
This returns the max timestamp for a specific entity in order to know if there are relevant changes.
?> It is possible the reported max timestamp is irrelevant for the client/consumer (i.e. when using a filter with the related endpoints), in which case it would simply trigger an update routine with no changes.
URL : /:organizationid/:wsmid/api/v1/product/max
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/product/:service/updates
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Soft deletes are documents from the same collection not matching the service filter
. If there is no active filter (e.g. using the "default" service) - an empty result will be returned.
URL : /:organizationid/:wsmid/api/v1/product/:service/softdeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Hard deletes are documents no longer in the collection.
?> It is possible the returned items are irrelevant for the client/consumer (i.e. when using a filter with the related endpoints). Match with existing IDs when appropriate.
URL : /:organizationid/:wsmid/api/v1/product/harddeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
?> Note that documentid
and item id do not match. Only supply values provided by the endpoint though nextoffsetid
.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
In order to avoid creating service endpoints for typical use cases, a built-in channel filter is available via the following endpoints.
URL : /:organizationid/:wsmid/api/v1/productbychannel/:channel/updates
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
channel=[string]
is the name of the channel
on which to filter.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/productbychannel/:channel/softdeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
channel=[string]
is the name of the channel
on which to filter.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
How to successfully harvest data using this endpoint:
Fetch locally stored lastReplicationTimestamp if applicaple
Call max endpoint and store MaxTimestamp.
Call updates endpoint with parameters: from = lastReplicationTimestamp
, to = MaxTimestamp
(and lastoffsetid = nextoffsetid
from previous batch)
Call softdeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Call harddeletes endpoint with the same parameters as above. Before deleting locally, ensure that the deleted entity has the highest timestamp
Save the stored value from step 2 (MaxTimestamp) as the new lastReplicationTimestamp
This returns the max timestamp for a specific entity in order to know if there are relevant changes.
?> It is possible the reported max timestamp is irrelevant for the client/consumer (i.e. when using a filter with the related endpoints), in which case it would simply trigger an update routine with no changes.
URL : /:organizationid/:wsmid/api/v1/productcategory/max
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
URL : /:organizationid/:wsmid/api/v1/productcategory/:service/updates
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Soft deletes are documents from the same collection not matching the service filter
. If there is no active filter (e.g. using the "default" service) - an empty result will be returned.
URL : /:organizationid/:wsmid/api/v1/productcategory/:service/softdeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
service=[string]
is the name of the Service Endpoint
registered in the WSM application settings. Supplying "default" as the service
requires no endpoint configuration and will not apply a filter to the result.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect. Code: 401 UNAUTHORIZED
Condition: Referencing an invalid service parameter. Code: 404 NOT FOUND
Hard deletes are documents no longer in the collection.
?> It is possible the returned items are irrelevant for the client/consumer (i.e. when using a filter with the related endpoints). Match with existing IDs when appropriate.
URL : /:organizationid/:wsmid/api/v1/productcategory/harddeletes
URL Parameters: organizationid=[string]
is the ID of the chainbox.io organization.
wsmid=[string]
is the APP ID of the WSM application.
Querystring parameters:
to=[date]
returns items with a lastupdated
value less than or equal to this date.
(optional) from=[date]
returns items with a lastupdated
value greater than this date. No default value - not supplying a value will omit this condition.
(optional) lastoffsetid=[string]
returns items with a documentid
greater than this value. This can be used to page through results as the items are sorted by documentid
internally. No default value - not supplying a value will omit this condition.
?> Note that documentid
and item id do not match. Only supply values provided by the endpoint though nextoffsetid
.
(optional) limit=[int]
number of items returned. Default = 1000.
Method: GET
Auth required: YES
Permissions required: Basic Auth credentials to the api can be delivered by contacting our support.
Condition: If Organization & WSM app exists and the given credentials are correct.
Code: 200 OK
Content example
Condition: If basic auth header is not present in request or is incorrect.
Code: 401 UNAUTHORIZED
Resources knappen repræsenterer dine muligheder for at ligge produktbilleder ind til din webshop, når du trykker her så kommer du frem til et nyt vindue hvor det er muligt at uploade billeder til din side.
Navngiv altid dine billeder det samme som produktets varenr. Hvis du har flere billeder til det samme produkt, så navngiv dem med et løbenr. efter navnet. Det billede uden nummer, eller det med det første nummer bliver automatisk det forreste billede og dermed det billeder der kommer ud på produktkortet.
Videoen viser en oversigt over de billeder der findes, du kan se de forskellige "buckets" der indeholder billedernem, og du kan uploade flere på "upload files" knappen. Her kan du enten trykke på upload for at vælge en mappe struktur hvori dine billeder ligger, eller du kan trække dem ind fra en anden mappe. Her kan du også skrive navnet på den bucket du ønsker at bruge, eller oprette en ny, og du kan give et billedet et tag til fremtidig reference.
Buckets kan med fordel bruges til at differentiere imellem billederne og deres brugssituation. F.eks. produktbilleder, evt. i flere lag, eller sliders, content mm.