Skip to content

Commit e5a17ee

Browse files
authored
Update README.md
1 parent fe40b76 commit e5a17ee

1 file changed

Lines changed: 18 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,18 @@
1-
My test Connector.
1+
This repository contains an example Connect application for an `job` [application type](https://docs.commercetools.com/connect/overview#connect-applications).
2+
3+
## What does this Connect application do?
4+
5+
This Connect application runs based on the `schedule` [defined in connect.yaml](https://github.com/industrian/ConnectorTest/blob/main/connect.yaml#L6) and unassigns a Category from Products created over 30 days ago.
6+
7+
This Category is ideally used for defining "new additions", and this Connect application would ensure that Products that are no-longer considered new are automatically unassigned from this Category.
8+
9+
The code can be found at [removefromcategory/src/controllers/job.controller.ts
10+
](https://github.com/industrian/ConnectorTest/blob/main/removefromcategory/src/controllers/job.controller.ts).
11+
12+
## Pre-requisites
13+
14+
You must have a Category that is assigned to Products. The `id` of this Category should be used as `new_arrivals_category_id` as [defined in connect.yaml](https://github.com/industrian/ConnectorTest/blob/main/connect.yaml#L25)
15+
16+
## Notes/Disclaimer
17+
18+
This Connect application was created as a proof of concept and should be used for evaluation purposes only.

0 commit comments

Comments
 (0)