riverty logo

Docs

Create Multiple Periods

Path

POST /v1/clients/{clientId}/partner-subscriptions/{subscriptionId}/periods
Successful Request

Request Example

    
        {
 "periods": [
  {
   "periodId": "string",
   "start": "2023-10-04",
   "end": "2023-10-04",
   "price": {
    "grossAmount": 0,
    "vatPercentage": 50
   }
  }
 ]
}
    

Response Example

    
        {
 "periods": [
  {
   "periodId": "string",
   "status": "NOT_INVOICED",
   "start": "2023-10-04",
   "end": "2023-10-04",
   "price": {
    "grossAmount": 0,
    "vatPercentage": 50,
    "currencyCode": "string"
   }
  }
 ]
}