Skip to main content
A fulfillment term is a named length of time, given as a period such as monthly and a duration counting those periods. These endpoints list, read, create, update and delete terms. This area has 5 endpoints, each available in all seven SDKs.

At a glance

Before you call

Register your API credentials once when your app starts, as shown in Authentication. Every SDK sample on these pages then gets its client in one line. With cURL, send the access token in an Authorization header: Authorization: Bearer $ACCESS_TOKEN.

Things to know

  • period is sent in upper case and returned in lower case. Send MONTHLY; the term comes back with monthly.
  • duration is an integer. It counts the periods, so period: MONTHLY with duration: 1 is one month.
  • status takes active or inactive. Send it on the update to turn a term on or off.
  • Writes are wrapped in fulfillment_term, and one term comes back under fulfillment_term.
  • The listing pages by cursor. Pass limit, then send the next_cursor from pagination as cursor until has_more is false.