create Platform Discount Share Policy
suspend fun createPlatformDiscountSharePolicy(test: Boolean? = null, id: String? = null, name: String, partnerShareRate: Int, memo: String? = null): CreatePlatformDiscountSharePolicyResponse
할인 분담 정책 생성
새로운 할인 분담을 생성합니다.
Parameters
test
테스트 모드 여부
테스트 모드 여부를 결정합니다. true 이면 테스트 모드로 실행됩니다. Request Body에도 isForTest가 있을 수 있으나, 둘 다 제공되면 Query Parameter의 test 값을 사용하고, Request Body의 isForTest는 무시됩니다. Query Parameter의 test와 Request Body의 isForTest에 모두 값이 제공되지 않으면 기본값인 false로 적용됩니다.
id
할인 분담에 부여할 고유 아이디
명시하지 않는 경우 포트원이 임의의 아이디를 발급해드립니다.
name
할인 분담에 부여할 이름
partner Share Rate
파트너가 분담할 할인금액의 비율을 의미하는 밀리 퍼센트 단위 (10^-5) 의 음이 아닌 정수이며, 파트너가 부담할 금액은 할인금액 * partnerShareRate * 10^5 로 책정합니다.
memo
해당 할인 분담에 대한 메모 ex) 파트너 브랜드 쿠폰