# Get validity periods

프로모션이 유효한 날짜/시간 범위를 가져옵니다.

  주의이 API 호출에는 project_id 경로 매개 변수가 포함되어 있지 않으므로 회사의 모든 프로젝트에서 유효한 API 키를 사용하여 인증을 설정해야 합니다.

Endpoint: GET /merchants/{merchant_id}/promotions/{promotion_id}/periods
Version: 2.0
Security: basicAuth

## Path parameters:

  - `merchant_id` (integer, required)
    판매자 ID입니다.

  - `promotion_id` (integer, required)
    프로모션 ID입니다.

## Response 200 fields (application/json):

  - `id` (integer)

  - `periods` (array)
    날짜/시간 범위.

  - `periods.from` (string)
    날짜 범위의 시작입니다.

  - `periods.offset` (string)
    Number of the element from which the list is generated (the count starts from 0).

  - `periods.to` (string)
    날짜 범위의 끝입니다.


