Docs

Repoint Variant Component

PUT /resourceTypes/{resourceTypeId}/variants/{variantId}/components/{componentId}

PUT/resourceTypes/{resourceTypeId}/variants/{variantId}/components/{componentId}

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Route 17. Sets what one variant uses for one component: the target type, its allowed variants, the quantity, or exclusion. The label stays the component's. A body equal to the component's own target, quantity and inclusion deletes the repoint. Applies to future procurements only.

Requires EventSettings permission on the event.
Event scoping: This endpoint does not include {eventId} in the URL. The event is determined automatically from your x-Event-Token.

Path Parameters

FieldTypeRequiredDescription
resourceTypeIdGuidRequiredThe composite type.
variantIdGuidRequiredA non-base variant of it.
componentIdGuidRequiredThe component.

Request Body

FieldTypeRequiredDescription
targetResourceTypeIdGuidRequiredA non-composite type. The component's own target means no repoint.
targetResourceVariantIdsGuid[]OptionalVariants of the target: empty = any, one = pinned, several = alternatives.
quantityint?OptionalPer composite unit for this variant. Null keeps the component's.
isExcludedboolOptionalTrue drops the slot from this variant.

Response

200 OK. No response body.

Error Codes

HTTP StatusDescription
400The base variant, a composite target, a variant not of the target, or a component of another type.
404Type, variant, component or target not found.
403Missing permission.