Skip to content

POST /product/{product_key}/counter/copy

Copy Process To Products

POST
/product/{product_key}/counter/copy

Copy the serial counter configuration from one product to target products.

Reads the counter_key of product_key and writes it onto each product in
target_product_keys, making them share the same counter sequence. The source
product must not appear in the target list.

All mutations run inside a single ArangoDB transaction.

Emits: (direct transaction — no event class)

Required scope: process:template:update

Authorizations

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters

Path Parameters

product_key*
Type
string
Required

Request Body

application/json
JSON
{
  
"target_product_keys": [
  
  
"string"
  
]
}

Responses

Successful Response

application/json
JSON
{
  
"status": 200,
  
"message": "string",
  
"detail": "string"
}

Samples

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.