API
- Introduction
- Authentication
- Idempotency
- Versioning
- Silo
- Transform
- Sequences
- Access
- Utils
Series
Create a series
Create a new series idempotently with the given UUID (any version).
PUT
/
sequence
/
v1
/
series
/
{id}
Copy
Ask AI
curl --request PUT \
--url https://api.invopop.com/sequence/v1/series/{id} \
--header 'Content-Type: application/json' \
--data '{
"code": "SALES-2020",
"description": "This series is used for sales.",
"id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
"name": "My Series",
"padding": 5,
"prefix": "INV-",
"sig": "<string>",
"start": 1,
"suffix": "-F1"
}'
Copy
Ask AI
{
"last_index": 1000
"padding": 5
"prefix": "TEST1"
"name": "Testing"
"created_at": "2022-03-03T22:18:50Z"
"suffix": "-2022"
"updated_at": "2022-03-03T22:18:50Z"
"id": "835bb1ca-e7c4-41e6-9e88-464de54cc08e"
}
Copy
Ask AI
{
"last_index": 1000
"padding": 5
"prefix": "TEST1"
"name": "Testing"
"created_at": "2022-03-03T22:18:50Z"
"suffix": "-2022"
"updated_at": "2022-03-03T22:18:50Z"
"id": "835bb1ca-e7c4-41e6-9e88-464de54cc08e"
}
Path Parameters
The UUID (any version) of the series to create.
Example:
"a8904315-3d16-4a95-91c1-30d6cdde553e"
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request PUT \
--url https://api.invopop.com/sequence/v1/series/{id} \
--header 'Content-Type: application/json' \
--data '{
"code": "SALES-2020",
"description": "This series is used for sales.",
"id": "a8904315-3d16-4a95-91c1-30d6cdde553e",
"name": "My Series",
"padding": 5,
"prefix": "INV-",
"sig": "<string>",
"start": 1,
"suffix": "-F1"
}'
Copy
Ask AI
{
"last_index": 1000
"padding": 5
"prefix": "TEST1"
"name": "Testing"
"created_at": "2022-03-03T22:18:50Z"
"suffix": "-2022"
"updated_at": "2022-03-03T22:18:50Z"
"id": "835bb1ca-e7c4-41e6-9e88-464de54cc08e"
}
Assistant
Responses are generated using AI and may contain mistakes.