Storefront API
Use this API when you are building your online store integration with Customer's Canvas.
You may use Storefront API to integrate your online store with Customer's Canvas. There are three major tasks you need to carry out:
- Associating the products of your online store (or a storefront) with Customer's Canvas own product specifications by creating special product references.
- Using the Customer's Canvas product specification attributes and tenant info to display a personalization tool on the frontend.
- Processing your online store orders by creating projects which hold the personalized designs of your customers.
Api Clients
.Net Client
You can install it from Nuget as follows:
Install-Package Aurigma.StorefrontApi.ApiClient
Angular Client
This client is compatible with Angular applications only. It won't work with NodeJS or other frontend JS frameworks. You can install the package to your Angular application as follows:
npm install @aurigma/ng-storefront-api-client
NodeJS Client (Axious)
This client can be used in a wide range of JavaScript applications. To make API calls, it uses Axios - a popular HTTP library. Although it is possible to use it in both frontend and backend projects, the primary target platform for this library is NodeJS.
Install the package as follows:
npm install @aurigma/axios-storefront-api-client
PHP Client
PHP client can be installed through composer as follows:
composer require aurigma/php-storefront-client
BuildInfo
These endpoints are used to get the technical information about the service such as version, build date and similar. They are also useful for a quick test whether the service is available. All of them are working in the same way and return the same information - use the HEAD or GET flavor of this endpoint based on your preference.
HeadInfo
Returns an assembly build info.
Request
HEAD /api/storefront/v1/info
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Success |
||
Headers | |||
X-Aurigma-Version | string | A version number |
|
X-Aurigma-Build-Date | string | A build date (UTC) |
|
X-Aurigma-Configuration | string | A build configuration (Debug | Release) |
|
X-Aurigma-App-Name | string | A service name |
GetInfo
Returns an assembly build info.
Request
GET /api/storefront/v1/info
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
ProcessingPipelines
These endpoints are used to manage processing pipelines.
GetAll
Returns all processing pipelines relevant to the specified query parameters.
Request
GET /api/storefront/v1/processing-pipelines[?skip&take&search&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
skip | query | Defines page start offset from beginning of sorted result list. |
||
take | query | Defines page length (how many consequent items of sorted result list should be taken). |
||
search | query | Search string for partial by processing pipeline name. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
Get
Returns a processing pipeline.
Request
GET /api/storefront/v1/processing-pipelines/{id}[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Processing pipeline identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
ProductReferences
These endpoints are used to manage storefront product references.
GetAll
Returns all storefront product references relevant to the specified query parameters.
Request
GET /api/storefront/v1/product-references?storefrontId[&productReference&productSpecificationId&skip&take&sorting&search&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
productReference | query | Product reference filter. Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier. |
||
productSpecificationId | query | Cusomer's Canvas product specification filter. |
||
skip | query | Defines page start offset from beginning of sorted result list. |
||
take | query | Defines page length (how many consequent items of sorted result list should be taken). |
||
sorting | query | Defines sorting order of result list e.g.: "Title ASC, LastModified DESC". |
||
search | query | Search string for partial match. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
Create
Creates a new storefront product reference.
Request
POST /api/storefront/v1/product-references?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Create operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
201 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
Get
Returns a storefront product reference.
Request
GET /api/storefront/v1/product-references/{reference}?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*reference | path | Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
Delete
Deletes the storefront product reference.
Request
DELETE /api/storefront/v1/product-references/{reference}?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*reference | path | Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetProductSpecification
Returns a product specification by the storefront product reference.
Request
GET /api/storefront/v1/product-references/{reference}/product-specification?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*reference | path | Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetProductCostDetails
Returns a product cost details from ecommerce system.
Request
GET /api/storefront/v1/product-references/{reference}/product-cost-details?sku&storefrontId[&storefrontUserId¤cyCode&quantity&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*reference | path | Product reference - external reference to Customer's Canvas product product specification, e.g online store product identifier. |
||
*sku | query | Product SKU. |
||
*storefrontId | query | Storefront identifier. |
||
storefrontUserId | query | Storefront user identifier. |
||
currencyCode | query | Product cost currency code. |
||
quantity | query | 1 | Product quantity. |
|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetPersonalizationWorkflow
Returns a product personalization workflow description by product specification identifier.
Request
GET /api/storefront/v1/product-references/{reference}/personalization-workflow[?storefrontId&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*reference | path | Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier. |
||
storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetProductConfig Deprecated
Returns a product personalization workflow configuration by storefront product reference.
Request
GET /api/storefront/v1/product-references/{reference}/product-config?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*reference | path | Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | string | Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
ProductSpecifications
These endpoints are used to manage tenant product specifications.
GetAll
Returns all product specifications, relevant to the specified query parameters.
Request
GET /api/storefront/v1/product-specifications[?skip&take&sorting&search&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
skip | query | Defines page start offset from beginning of sorted result list. |
||
take | query | Defines page length (how many consequent items of sorted result list should be taken). |
||
sorting | query | Defines sorting order of result list e.g.: "Title ASC, LastModified DESC". |
||
search | query | Search string for partial match. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
Get
Returns a product specification by identifier.
Request
GET /api/storefront/v1/product-specifications/{id}[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Product specification identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetPersonalizationWorkflow
Returns a product personalization workflow description by product specification identifier.
Request
GET /api/storefront/v1/product-specifications/{id}/personalization-workflow[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Product specification identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetConfiguration Deprecated
Returns a product personalization workflow configuration by product specification identifier.
Request
GET /api/storefront/v1/product-specifications/{id}/config[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Product specification identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | string | Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
Projects
These endpoints are used to manage tenant projects.
GetAll
Returns all projects, relevant to the specified query parameters.
Request
GET /api/storefront/v1/projects[?ownerId&productReference&status&datePeriod&skip&take&sorting&search&orderId&processingStatus&storefrontId&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
ownerId | query | Project owner (storefront user id) filter. |
||
productReference | query | Product reference filter. |
||
status | query | Project status filter. |
||
datePeriod | query | Project date period filter. |
||
skip | query | Defines page start offset from beginning of sorted result list. |
||
take | query | Defines page length (how many consequent items of sorted result list should be taken). |
||
sorting | query | Defines sorting order of result list e.g.: "Title ASC, LastModified DESC". |
||
search | query | Search string for partial match. |
||
orderId | query | Identifier of corresponding order. |
||
processingStatus | query | Project processing status filter. |
||
storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
Get
Returns a project by identifier.
Request
GET /api/storefront/v1/projects/{id}[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
Delete
Removes a project by identifier.
Request
DELETE /api/storefront/v1/projects/{id}[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Success |
||
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetPreview
Returns a project preview file by project identifier.
Request
GET /api/storefront/v1/projects/{id}/preview[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | file | Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetPreviewUrl
Returns a project preview URL by project identifier.
Request
GET /api/storefront/v1/projects/{id}/preview-url[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | string | Success |
|
404 | string | Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
CreateWithSingleItem
Creates a new project with single item.
Request
POST /api/storefront/v1/projects/with-single-item?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Create operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
201 |
|
Success |
|
400 |
|
Bad Request |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
CreateWithMultipleItems
Creates a new project with multiple items.
Request
POST /api/storefront/v1/projects/with-multiple-items?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Create operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
201 |
|
Success |
|
400 |
|
Bad Request |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
CreateByRenderHiResScenario
Creates a new project by 'Render HiRes' scenario.
Request
POST /api/storefront/v1/projects/by-scenario/render-hires?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Create operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
201 |
|
Success |
|
400 |
|
Bad Request |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
CreateBySpecificPipelineScenario
Creates a new project by 'Specific Pipeline' scenario.
Request
POST /api/storefront/v1/projects/by-scenario/specific-pipeline?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Create operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
201 |
|
Success |
|
400 |
|
Bad Request |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
GetAvailableTransitions
Returns all available status transitions for a project.
Request
GET /api/storefront/v1/projects/{id}/transitions[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
400 |
|
Bad Request |
|
404 |
|
Not Found |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
ChangeStatus
Changes the project status.
Request
POST /api/storefront/v1/projects/{id}/transitions/{transition}[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier |
||
*transition | path | Transition identifying name. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
400 |
|
Bad Request |
|
404 |
|
Not Found |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
ForceStatus
Changes the project status forcibly without a proper transition.
Request
POST /api/storefront/v1/projects/{id}/statuses/{status}[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
*status | path | Project status code. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
400 |
|
Bad Request |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetAllStatuses
Returns a list of all existing project statuses.
Request
GET /api/storefront/v1/projects/statuses[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
GetAllTransitions
Returns a list of all existing project status transitions.
Request
GET /api/storefront/v1/projects/transitions[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
GetProjectPdfUrl Deprecated
Returns an url to download project print file.
Request
GET /api/storefront/v1/projects/{id}/project-pdf?designUserId&designId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
*designUserId | query | Design owner identifier. |
||
*designId | query | Design identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
GetProjectPdfZip Deprecated
Returns an archive file, which contains all project print files.
Request
GET /api/storefront/v1/projects/{id}/project-pdf-zip?designUserId&designId[&attachment&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
*designUserId | query | Design owner identifier. |
||
*designId | query | Design identifier. |
||
attachment | query | True | If set to 'true', the requested file will be provided as an attachment with proper filename supplied (default value is 'false'). |
|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | file | Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetProjectProcessingResults
Returns a project processing results.
Request
GET /api/storefront/v1/projects/{id}/processing-results[?itemId&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
itemId | query | Project item identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
ResumeProjectProcessing
Resumes project processing.
Request
POST /api/storefront/v1/projects/{id}/resume-processing[?itemId&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
itemId | query | Project item identifier. If value is set, only specified item processing will be resumed. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
204 | Success |
||
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
RestartProjectProcessing
Restarts a project processing routine.
Request
POST /api/storefront/v1/projects/{id}/restart-processing[?itemId&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
itemId | query | Project item identifier. If value is set, only specified item processing will be restarted. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
204 | Success |
||
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
GetProjectOrder
Returns an order description from the ecommerce system for the specified project.
Request
GET /api/storefront/v1/projects/{id}/order[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Success |
||
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
AttachDataToProjectOrder
Attachs the specified data to the project's order in ecommerce system.
Request
POST /api/storefront/v1/projects/{id}/order-data[?itemId&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Project identifier. |
||
itemId | query | |||
tenantId | query | Tenant identifier. |
||
body | body |
|
A list of data items, which should be attached to project's order. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
204 | Success |
||
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
Storefronts
These endpoints are used to manage tenant storefronts and storefront product references.
GetAll
Returns all storefronts, relevant to the specified query parameters.
Request
GET /api/storefront/v1/storefronts[?types&skip&take&sorting&search&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
types | query | Storefront type filter. |
||
skip | query | Defines page start offset from beginning of sorted result list. |
||
take | query | Defines page length (how many consequent items of sorted result list should be taken). |
||
sorting | query | Defines sorting order of result list e.g.: "Title ASC, LastModified DESC". |
||
search | query | Search string for partial match. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
Get
Returns a storefront by identifier.
Request
GET /api/storefront/v1/storefronts/{id}[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
StorefrontUsers
These endpoints are used to manage storefront users.
GetAll
Returns all storefront users, relevant to the specified query parameters.
Request
GET /api/storefront/v1/storefront-users?storefrontId[&storefrontUserId&skip&take&sorting&search&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
storefrontUserId | query | Storefront user identifier. |
||
skip | query | Defines page start offset from beginning of sorted result list. |
||
take | query | Defines page length (how many consequent items of sorted result list should be taken). |
||
sorting | query | Defines sorting order of result list e.g.: "Title ASC, LastModified DESC". |
||
search | query | Search string for partial match. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
Create
Creates a new storefront user.
If a user with the specified identifier already exists then the error with http status code 409 be returned.
Request
POST /api/storefront/v1/storefront-users?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
201 |
|
Success |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
Get
Returns a storefront user by identifier.
Request
GET /api/storefront/v1/storefront-users/{id}?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*id | path | Storefront user identifier. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
404 |
|
Not Found |
|
401 | Unauthorized |
||
403 | Forbidden |
Register
Registers a storefront user with the specified identifier.
If an anonymous user with the specified identifier already exists then this user become a 'regular' user.
Request
POST /api/storefront/v1/storefront-users/register?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
MergeAnonymous
Transfers all existing data for the anonymous storefront user to the selected regular storefront user account.
Request
POST /api/storefront/v1/storefront-users/merge-anonymous?storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
||
body | body |
|
Operation parameters. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | Success |
||
404 |
|
Not Found |
|
409 |
|
Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
GetToken
Returns an API access token for the specified storefront user.
Request
GET /api/storefront/v1/storefront-users/token?storefrontUserId&storefrontId[&tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
*storefrontUserId | query | Storefront user identifier. |
||
*storefrontId | query | Storefront identifier. |
||
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | string | Success |
|
404 | string | Not Found |
|
409 | string | Conflict |
|
401 | Unauthorized |
||
403 | Forbidden |
TenantInfo
These endpoints are used to get tenant information.
GetApplicationsInfo
Returns an information about the tenant applications.
Request
GET /api/storefront/v1/tenant-info/applications[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
GetInfo
Returns an information about the tenant.
Request
GET /api/storefront/v1/tenant-info[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
GetMeasureUnitsInfo
Returns an information about the tenant measure units.
Request
GET /api/storefront/v1/tenant-info/measure-units[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
GetUsersInfo
Returns a list of tenant users.
Request
GET /api/storefront/v1/tenant-info/users[?tenantId]
Parameters
Name | In | Type | Default | Notes |
---|---|---|---|---|
tenantId | query | Tenant identifier. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
|
401 | Unauthorized |
||
403 | Forbidden |
Definitions
BuildInfoModel
Information about a service.
Name | Type | Notes |
---|---|---|
version | string | Version number. |
buildDate | string | Build date (UTC). |
configuration | string | Build configuration (Debug | Release). |
appName | string | Service name. |
PagedOfProcessingPipelineDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
ProcessingPipelineDto
Items list.
Name | Type | Notes |
---|---|---|
id | integer (int32) | Processing pipeline identifier. |
name | string | Processing pipeline name. |
rawContent | string | Processing pipeline raw (uncompiled) content. |
Microsoft.AspNetCore.Mvc.ProblemDetails
Name | Type | Notes |
---|---|---|
type | string | |
title | string | |
status | integer (int32) | |
detail | string | |
instance | string |
PagedOfProductReferenceDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
ProductReferenceDto
Items list.
Name | Type | Notes |
---|---|---|
productReference | string | Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier. |
productSpecificationId | integer (int32) | Customer's Canvas product specification identifier. |
storefrontId | integer (int32) | Storefront identifier. |
tenantId | integer (int32) | Tenant identifier. |
created | string (date-time) | Storefront product reference creation date and time. |
CreateProductReferenceDto
Create operation parameters.
Name | Type | Notes |
---|---|---|
productReference | string | Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier. |
productSpecificationId | integer (int32) | Customer's Canvas product specification identifier. |
ProductSpecificationDto
Dto class, containing information about product specification.
Name | Type | Notes |
---|---|---|
id | integer (int32) | Product specification identifier. |
tenantId | integer (int32) | Tenant identifier. |
name | string | Product specification name. |
productAttributes |
|
List of product attributes. |
created | string (date-time) | Product specification creation time. |
lastModified | string (date-time) | Product specification modification time. |
personalizationWorkflowId | integer (int32) | Personalization workflow identifier. |
processingPipelineId | integer (int32) | Processing pipeline identifier. |
ProductAttributeDto
List of product attributes.
Name | Type | Notes |
---|---|---|
name | string | Product attribute name. |
type | string | Product attribute type. |
value | Product attribute value. |
ProductCostDetailsDto
Dto class, containing information about storefront product cost details.
Name | Type | Notes |
---|---|---|
productReference | string | Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier. |
productSku | string | Product SKU. |
productQuantity | integer (int32) | Product quantity. |
productPrice | number (double) | Product price. |
productCost | number (double) | Product cost. |
productDiscount | number (double) | Product discount. |
currencyCode | string | Currency code. |
tenantId | integer (int32) | Tenant identifier. |
PersonalizationWorkflowDto
Personalization workflow description DTO.
Name | Type | Notes |
---|---|---|
id | integer (int32) | Workflow identifier. |
content | string | Processed workflow JSON. |
workflowType |
|
Workflow type. |
WorkflowType
Workflow type.
Enum Values
UIFramework SimpleEditor DesignEditor WorkflowElements
PagedOfProductSpecificationDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
PagedOfProjectDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
ProjectDto
Items list.
Name | Type | Notes |
---|---|---|
id | integer (int32) | Project identifier. |
productReference | string | Storefront product identifier. |
storefrontId | integer (int32) | Storefront identifier. |
tenantId | integer (int32) | Project tenant indentifier. |
orderId | string | Order identifier in ecommerce system. |
orderUrl | string | Order url in ecommerce system. |
orderNumber | integer (int32) | Order number in ecommerce system. |
orderLineItemId | string | Order item identifier from storefront order. |
orderLineItemIndex | integer (int32) | Order item index from storefront order. |
customerId | string | Customer identifier in ecommerce system. |
customerName | string | Customer name in ecommerce system. |
name | string | Project name. |
ownerId | string | Project owner identifier. |
items |
|
List of project items. |
status | integer (int32) | Project status code. |
created | string (date-time) | Project creation time. |
lastModified | string (date-time) | Project modification time. |
description | string | Description of the project. |
processingStatus |
|
Project processing status. |
ProjectItemDto
List of project items.
Name | Type | Notes |
---|---|---|
id | integer (int32) | Item identifier. |
name | string | Item name. |
quantity | integer (int32) | Item quantity information. |
orderLineItemId | string | Order item identifier from storefront order. |
orderLineItemIndex | integer (int32) | Order item index from storefront order. |
productReference | string | Storefront product reference (i.e external reference to Customer's Canvas product specification). |
fields | object | Item information. |
hidden | Additional item information. |
|
designIds | array | A list of design identifiers associated to the item. |
sku | string | SKU. |
resources |
|
External resources descriptions. |
ProjectItemResourceDto
External resources descriptions.
Name | Type | Notes |
---|---|---|
resourceId | string | Resource ID. |
name | string | Resource name. |
type |
|
Resource type. |
ProjectItemResourceType
Resource type.
Enum Values
General Preview Hires
ProjectProcessingStatus
Project processing status.
Enum Values
Pending InProgress Completed Failed
CreateSingleItemProjectDto
Create operation parameters.
Name | Type | Notes |
---|---|---|
productReference | string | Product reference (i.e external reference to Customer's Canvas product specification - main subject of this project). |
orderLineItemIndex | integer (int32) | Line item index from ecommerce system order. |
orderLineItemId | string | Line Item identifier from ecommerce system order. |
items |
|
List of project items. |
orderId | string | Order identifier in ecommerce system. |
orderUrl | string | Order url in ecommerce system. |
orderNumber | integer (int32) | Order number in ecommerce system. |
customerId | string | Customer identifier in ecommerce system. |
customerName | string | Customer name in ecommerce system. |
name | string | Project name. |
ownerId | string | Project owner identifier. |
item | List of project items. |
|
description | string | Description of the project. |
ProjectItemParametersDto
List of project items.
Name | Type | Notes |
---|---|---|
name | string | Item name. |
quantity | integer (int32) | Item quantity information. |
orderLineItemIndex | integer (int32) | Line item index from ecommerce system order. |
orderLineItemId | string | Line Item identifier from ecommerce system order. |
productReference | string | Storefront product identifier. |
fields | object | Item information. |
hidden | Additional item information. |
|
designIds | array | A list of design identifiers associated to the item. |
sku | string | SKU. |
resources |
|
External resources descriptions. |
ProjectItemResourceParametersDto
External resources descriptions.
Name | Type | Notes |
---|---|---|
url | string | Resource URL. |
name | string | Resource name. |
type | Resource type. |
|
resourceId | string | Original resource identifier. |
CreateMultiItemProjectDto
Create operation parameters.
Name | Type | Notes |
---|---|---|
orderId | string | Order identifier in ecommerce system. |
orderUrl | string | Order url in ecommerce system. |
orderNumber | integer (int32) | Order number in ecommerce system. |
customerId | string | Customer identifier in ecommerce system. |
customerName | string | Customer name in ecommerce system. |
name | string | Project name. |
ownerId | string | Project owner identifier. |
items |
|
List of project items. |
description | string | Description of the project. |
CreateProjectByRenderHiResScenarioDto
Create operation parameters.
Name | Type | Notes |
---|---|---|
ownerId | string | Project owner identifier. |
name | string | Project name. |
description | string | Description of the project. |
orderDetails | Ecommerce system order description. |
|
orderLineItemIndex | integer (int32) | Line item index from ecommerce system order. |
orderLineItemId | string | Line Item identifier from ecommerce system order. |
scenario | List of project items. |
CreateProjectBySpecificPipelineScenarioDto
Create operation parameters.
Name | Type | Notes |
---|---|---|
ownerId | string | Project owner identifier. |
name | string | Project name. |
description | string | Description of the project. |
orderDetails | Ecommerce system order description. |
|
items |
|
List of project items. |
scenario | 'Specific Pipeline' scenario params. For more information check BackOffice.Web.PublicApi.ApiStorefront.Models.SpecificPipelineScenarioDto. |
PagedOfProjectTransitionDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
ProjectTransitionDto
Items list.
Name | Type | Notes |
---|---|---|
name | string | Transition identifying name. |
displayName | string | Transition display name. |
startStatus | integer (int32) | Project status code from which transition to the result status code can be done. |
resultStatus | integer (int32) | Transition result project status code. |
ProjectTransitionConflictDto
Dto class, containing information about the project transition conflict.
Name | Type | Notes |
---|---|---|
availableTransitions |
|
A list of all available status transitions for the project. |
ProjectStatusDto
Dto class, containing the information about project status.
Name | Type | Notes |
---|---|---|
code | integer (int32) | Status code. |
displayName | string | Status display name. |
PagedOfProjectStatusDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
ProjectPdfResultDto
Dto class, containing result of 'get project pdf url' operation.
Name | Type | Notes |
---|---|---|
url | string | Project pdf url. |
ProjectProcessingResultsDto
Dto class, containing description of project processing results.
Name | Type | Notes |
---|---|---|
status |
|
Project processing status. |
statusDescription | string | Project status description. |
outputFileDetails |
|
Collection of project output file descriptions. |
ProjectOutputFileDetailsDto
Collection of project output file descriptions.
Name | Type | Notes |
---|---|---|
projectItemId | integer (int32) | Project item identifier. |
orderLineItemId | string | Order item identifier from storefront. |
orderLineItemIndex | integer (int32) | Order item index from storefront. |
url | string | Project output file URL. |
name | string | Project output file name. |
format | string | Project output file format. |
artifactId | string | Output artifact file identifier. |
anonymousAccess | boolean | Project output file access strategy. |
size | integer (int64) | Project output file size in bytes. |
OrderDataItemDto
A list of data items, which should be attached to project's order.
Name | Type | Notes |
---|---|---|
key | string | Order data item key (eventuall order metadata field name). |
value | string | Order data item value. |
type |
|
Order data item type. |
OrderDataItemValueType
Order data item type.
Enum Values
PlainText CommaSeparatedList SerializedJson
PagedOfStorefrontDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
StorefrontDto
Items list.
Name | Type | Notes |
---|---|---|
id | integer (int32) | Storefront identifier. |
tenantId | integer (int32) | Tenant identifier. |
name | string | Storefront name. |
type |
|
Storefront ecommerce system type. |
created | string (date-time) | Storefront entity creation date and time. |
StorefrontType
Storefront ecommerce system type.
Enum Values
Custom ShopifyLegacy DocketManager CustomSaml NopCommerce WooCommerce Magento BigCommerce Shopify ShopifyCustom
PagedOfStorefrontUserDto
Paged list of items.
Name | Type | Notes |
---|---|---|
total | integer (int64) | Items count. |
items |
|
Items list. |
StorefrontUserDto
Items list.
Name | Type | Notes |
---|---|---|
userId | string | Storefront user identifier. |
tenantId | integer (int32) | Storefront tenant indentifier. |
storefrontId | integer (int32) | Storefront identifier. |
isAnonymous | boolean | Indicates if the user is tracked as an anonymous. |
CreateStorefrontUserDto
Operation parameters.
Name | Type | Notes |
---|---|---|
storefrontUserId | string | Storefront user identifier. |
isAnonymous | boolean | Indicates if the user is tracked as an anonymous. |
RegisterStorefrontUserInput
Operation parameters.
Name | Type | Notes |
---|---|---|
storefrontUserId | string | Storefront user identifier. |
MergeAnonymousUserDataInput
Operation parameters.
Name | Type | Notes |
---|---|---|
anonymousStorefrontUserId | string | Anonymous storefront user identifier. |
regularStorefrontUserId | string | Regular storefront user identifier. |
TenantApplicationsInfoDto
Dto class, containing information about tenant applications.
Name | Type | Notes |
---|---|---|
designEditorUrl | string | An url to the 'Design Editor' tenant application. |
uiFrameworkUrl | string | An url to the 'UI Framework'. |
simpleEditorUrl | string | An url to the 'Simple editor'. |
workflowElementsUrl | string | An url to the 'Workflow Elements' web components library. |
templateEditorUrl | string | An url to the 'Template editor'. |
preflightUrl | string | An url to the 'Preflight' tenant application. |
dynamicImageUrl | string | An url to the 'Dynamic Image' tenant application. |
tenantId | integer (int32) | Tenant identifier |
designEditorApiKey | string | An ApiKey for the 'Design Editor' tenant application. |
preflightApiKey | string | An ApiKey for the 'Preflight' tenant application. |
dynamicImageApiKey | string | An ApiKey for the 'Dynamic Image' tenant application. |
TenantInfoDto
Dto class, containing general information about tenant.
Name | Type | Notes |
---|---|---|
tenantId | integer (int32) | Tenant identifier. |
tenancyName | string | Tenancy name. |
tenantCreationTime | string (date-time) | Tenant creation time. |
isActive | boolean | Tenant activeness status. |
TenantMeasureUnitsInfoDto
Dto class, containing information about tenant measure units.
Name | Type | Notes |
---|---|---|
sizeMeasureUntis |
|
A list of all 'size' measure units of the tenant. |
SizeMeasureUnitDto
A list of all 'size' measure units of the tenant.
Name | Type | Notes |
---|---|---|
name | string | Measure unit full name. |
shortName | string | Measure unit short name. |
ratio | number (float) | Measure unit ratio. |
isDefault | boolean | Indicates if measure unit should be used by default. |
TenantUserInfoDto
Name | Type | Notes |
---|---|---|
tenantId | integer (int32) | Tenant identifier. |
userId | integer (int64) | User identifier. |
userName | string | User name. |
userSurname | string | User surname. |
isActive | boolean | User status. |