Skip to main content
POST
Preview the next part number

Authorizations

Authorization
string
header
required

Enter your API key. Example: Bearer poelis_api_...

Path Parameters

product_id
string
required

Body

application/json

Input-segment values used to preview the next part number.

input_values
string[] | null

Values for the rule's input segments, in segment order. Omit when the rule has no input segments.

Response

The next part number, or null when one cannot be generated.

Next part number for a product rule, without assigning it.

part_number
string | null

Next part number for the product's rule and input_values. Null when the product has no counter rule, or input_values are missing or invalid.