Set Agent Limits
/agents/{agent}/limitsAuthorization
cookieAuth In: cookie
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PUT "https://example.com/agents/497f6eca-6276-4993-bfeb-53cbbbba6f08/limits" \ -H "Content-Type: application/json" \ -d '{ "limits": [ { "operation_class": "string", "dimension": "action", "window": "day", "timezone": "string", "currency": "string" } ] }'{ "company_id": "string", "livemode": true, "status": "active", "enabled_classes": [ { "operation_class": "string", "currencies": [ "string" ], "credit_types": [ "string" ] } ], "limits": [ { "id": "string", "agent_id": "string", "operation_class": "string", "dimension": "action", "window": "day", "timezone": "string", "currency": "string", "credit_type": "string", "max_amount": 0, "max_count": 0, "second_approval_above": 0, "retired": true } ], "usage": [ { "limit_id": "string", "bucket_key": "string", "amount": 0, "count": 0 } ], "always_ask": [ "string" ], "over_limit_behavior": "refuse", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "object": "agent", "name": "string", "created_at": "2019-08-24T14:15:22Z"}Set Affiliate Program Products POST
Sets the program's complete product set. Listed products move here from their current program; products this program held and the request omits move to the default program. The default program's set may only grow. Cookie members require Hms-Company and Hms-Livemode; Idempotency-Key returns 400 invalid_request with idempotency_not_supported_for_member_routes. Bearer callers require Idempotency-Key. Agents cannot write affiliate records.
Set Purchase Requirements PUT
Preview and confirm purchase requirement changes. Members and platform staff may preview but cannot confirm. Confirmation requires a bearer key or agent; live confirmation also requires catalog:publish.