Allocation Templates Admin

Create an allocation template

Creates a new allocation template for an account. You'll need to provide a template name and the allocation specifications, which define supplier blocks, distribution groups, and their respective percentages.

post/demand/accounts/{account_id}/allocation-templates

Request

Headers

idempotency-keystring ulid required

A unique ID that you can provide to safely retry requests without accidentally performing the same operation twice.

Example:01JCDRR74NW2SSGN567A766VAN

A unique key that you must provide to prevent accidental duplicate requests. If a network error occurs, you can safely retry the request with the same key.

Request body

namestring required

A descriptive name for the allocation template.

Example request

{
  "supply_allocations": [
    {
      "percentage_max": 100
    }
  ]
}

Response

The allocation template was created successfully. The Location header contains the URL for the new resource.

Changes

No recorded changes to this operation across all 1 revision of this API.