탐색으로 건너뛰기

리셀러 워크스페이스 업데이트

고객 워크스페이스를 업데이트합니다. 전송된 필드만 변경됩니다.

경로 매개변수

workspace_idstring필수

고객 워크스페이스의 ID입니다. 프로비저닝 시 반환되며, GET /v1/reception/reseller/workspaces로 목록을 조회할 수 있습니다.

헤더

xi-api-keystring선택 사항

요청

This endpoint expects an object.
metadatamap from strings to strings선택 사항

워크스페이스의 전체 메타데이터 맵을 대체합니다. 지우려면 {}를 전송하세요. 생략하면 변경되지 않습니다.

응답

성공 응답

workspace_idstring
business_namestring
billing_tierstring or null
receptionist_countinteger
calls_last_30_daysinteger
created_at_unixinteger
subscriptionobject or null선택 사항

이 워크스페이스에 리셀러 관리 구독이 있는 경우 해당 구독입니다. None은 리셀러가 여기에서 판매하는 항목이 없음을 의미합니다. 아직 티어가 할당되지 않았거나 워크스페이스가 자체 구독료를 지불하는 경우입니다(charge_customer 참고).

charge_customerboolean선택 사항기본값 false

워크스페이스가 자체 구독료를 지불하므로 여기에서 티어를 할당하거나 변경할 수 없습니다.

has_payment_issueboolean선택 사항기본값 false
A charge for this workspace is unpaid. Assigning or changing a tier is refused until it clears, so surface it rather than letting it fail.
onboarding_completed_at_unixinteger or null선택 사항

온보딩이 완료된 시점입니다. 그때까지 온보딩 마법사는 워크스페이스의 비즈니스 데이터를 교체하거나 제거할 수 있습니다.

metadatamap from strings to strings선택 사항기본값 {}

워크스페이스용 사용자 지정 키-값 쌍입니다.

오류

422
Unprocessable Entity Error