Offers

POST /offers/{offer_id}/switches/{switch_id}/endsale

Changed on

Request

  • Base URL
    https://api.connect.cloudblue.com/public/v1
  • Auth
    API key in header Authorization

Path parameters

offer_idstring required
switch_idstring required

Request body

idstring
type'upgrade' | 'downgrade' | 'eos' | 'change' | 'trial'
status'active' | 'endofsale' nullable
end_of_sale_notesstring nullable
itemsstring

Response

idstring
type'upgrade' | 'downgrade' | 'eos' | 'change' | 'trial'
status'active' | 'endofsale' nullable
end_of_sale_notesstring nullable
itemsstring

Changes

    • warning

      added the new trial enum value to the response property for the response status

    • info

      api operation id offers_offers_switches_endsale_postEndsaleSwitch removed and replaced with offers_offers_switches_endsale_postEndsaleSwitchDetail

    • info

      added the new trial enum value to the request property

    • info

      added the optional property to the response with the status

    • info

      endpoint added