Promotions

Update a Promotion.

Changed on

Fields that are not sent keep their value, except: coupons (or the deprecated code) replaces the coupons and, when omitted, all coupons are removed; max_times_used is reset to 0 unless lasts is max_times_used or both; the condition is cleared unless buys_at_least is sent.

put/promotions/{id}.json

Request

  • Base URL
    https://api.jumpseller.com/v1
  • URL
    https://api.jumpseller.com/v1/promotions/{id}.json
  • Auth
    • HTTP basic
    • or API key in query parameter login and API key in query parameter authtoken
    • or OAuth 2
      Authorization code: https://accounts.jumpseller.com/oauth/authorize
      Token URL: https://accounts.jumpseller.com/oauth/token scopes: write_promotions

Path parameters

idinteger required

Id of the Promotion

Request body

Response

OK

Changes

    • breaking

      request property / was restricted to a list of enum values

    • breaking

      request property / was restricted to a list of enum values

    • breaking

      request property / was restricted to a list of enum values

    • breaking

      request property / was restricted to a list of enum values

    • breaking

      request property / was restricted to a list of enum values

    • breaking

      the request property / became required

    • breaking

      the request property / became required

    • breaking

      the / request property format changed from no format to date

    • breaking

      the / request property format changed from no format to date

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • warning

      removed the optional property / from the response with the status

    • warning

      added the new active enum value to the / response property for the response status

    • warning

      added the new buy_x_get_y enum value to the / response property for the response status

    • warning

      added the new categories enum value to the / response property for the response status

    • warning

      added the new expired enum value to the / response property for the response status

    • warning

      added the new order enum value to the / response property for the response status

    • warning

      added the new shipping enum value to the / response property for the response status

    • info

      added the new optional request property ///

    • info

      added the new optional request property ///

    • info

      added the new all enum value to the request property /

    • info

      added the new both enum value to the request property /

    • info

      added the new buy_x_get_y enum value to the request property /

    • info

      added the new categories enum value to the request property /

    • info

      added the new categories enum value to the request property /

    • info

      added the new date enum value to the request property /

    • info

      added the new fix enum value to the request property /

    • info

      added the new guests enum value to the request property /

    • info

      added the new loggedin enum value to the request property /

    • info

      added the new max_times_used enum value to the request property /

    • info

      added the new none enum value to the request property /

    • info

      added the new none enum value to the request property /

    • info

      added the new nopurchases enum value to the request property /

    • info

      added the new not_in_categories enum value to the request property /

    • info

      added the new order enum value to the request property /

    • info

      added the new percentage enum value to the request property /

    • info

      added the new price enum value to the request property /

    • info

      added the new qty enum value to the request property /

    • info

      added the new shipping enum value to the request property /

    • info

      added the new single_item enum value to the request property /

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status