Skip to main content

API definition of RH order manager for EasyS

Project description

PyPI version PyPI - Python Version

EasyS order manager API

Tested against

  • Python: [3.6, 3.7, 3.8, 3.9]
  • Django: [2.2.19, 3.0.13, 3.1.7]
  • Django Rest Framework: [3.10.3, 3.11.2, 3.12.2] (except DRF 3.10 on Django 3.1)

See .github/workflows/workflow.yml for more details

Changelog

1.4.44 (2022-01-03)

Updates to Serializer v1 & v2 see serializer changelog

1.4.43 (2021-11-29)

Updates to Serializer v2 see serializer changelog

1.4.42 (2021-11-26)

Updates to Serializer v1 see serializer changelog

1.4.41 (2021-11-12)

1.4.40 (2021-10-08)

Fixes flake8 errors.

1.4.39 (2021-10-08)

Updates to Serializer v1 & v2 see serializer changelog

1.4.38 (2021-08-11)

  • Fix example for email Orderline.

1.4.37 (2021-08-11)

Updates to Serializer v1 & v2 see serializer changelog

1.4.36 (2021-06-25)

Updates to Serializer v1 & v2 see serializer changelog

1.4.35 (2021-06-01)

  • Update maximum supported version of django-phonenumber-field>=3.0.1,<6.0

1.4.34 (2021-05-28)

Updates to Serializer v1 & v2 see serializer changelog

1.4.33 (2021-05-25)

Updates to Serializer v1 & v2 see serializer changelog

1.4.32 (2021-05-07)

Updates to Serializer v1 & v2 see serializer changelog

1.4.31 (2021-04-15)

  • Update maximum supported version of django-phonenumber-field>=3.0.1,<5.2
  • Update test matrix, add Django 3.2

1.4.30 (2021-03-18)

Replace ugettext* usages with gettext* usages as Python 3 is unicode compatible anyway

1.4.29 (2021-02-19)

Updates to Serializer v1 & v2 see serializer changelog

1.4.28 (2021-02-01)

  • Remove dependency to django-iban and use validation from internationalflavor
  • Allow django-countries release series 7.x
  • Update dev requirements

1.4.27 (2021-1-27)

Updated translations of PRODUCT_PAYMENT_CYCLE_CHOICES

1.4.26 (2021-1-27)

updates changelog

1.4.25 (2021-1-27)

Adds product payment cycle support to Serializer v1 & v2 see serializer changelog

1.4.24 (2020-11-25)

Updates to Serializer v1 & v2 see serializer changelog

1.4.23 (2020-11-19)

Updates to Serializer v1 & v2 see serializer changelog

1.4.22 (2020-11-16)

  • Modernize Docker env, Update max supported versions and min requirements of some packages
  • Split package and test dependencies
  • Move package dependencies to setup.py
  • Restructure travis env

1.4.21 (2020-11-13)

Update maximum supported version of django-phonenumber-field>=3.0.1,<5.1

1.4.20 (2020-11-06)

Update maximum supported version of phonenumbers>=7.0.6,<8.13

1.4.19 (2020-10-23)

Update maximum supported version of djangorestframework>=3.7.7,<3.13

1.4.18 (2020-10-16)

Update maximum required version of django-countries>=4.4,<6.1.4 and django-internationalflavor>=0.3.1,<0.5

1.4.17 (2020-10-16)

Update package to version phonenumbers>=7.0.6,<8.12.12

1.4.15 (2020-10-16)

Update package to version django-model-utils>=3.1.2,<5.0 - for backwards compatibility

1.4.14 (2020-10-16)

Update package to version django-model-utils>=4.0.0,<5.0

1.4.13 (2020-10-06)

Fix serializer v2 choice fields

1.4.12 (2020-10-05)

Updates to Serializer v2 see serializer changelog

1.4.11 (2020-09-23)

Update german translations

1.4.10 (2020-09-23)

Updates to Serializer v1 & v2 see serializer changelog

1.4.9 (2020-09-01)

Updates to Serializer v2 see serializer changelog

1.4.8 (2020-08-06)

Changed a translation

1.4.7 (2020-06-30)

Fix test cases

1.4.6 (2020-06-30)

Updates to Serializer v1/v2 see serializer changelog

1.4.5 (2020-06-23)

Updates to Serializer v1/v2 see serializer changelog

1.4.4 (2020-06-04)

Fixed code style to pass checks

1.4.3 (2020-06-03)

Updates to Serializer v2 see serializer changelog

1.4.2 (2020-05-07)

Updates to Serializer v2 see serializer changelog

1.4.1 (2020-04-15)

Introduction of serializer v2

  • easys-ordermanager/easys_ordermanager/v1/serializer.Serializer is now frozen on the state of release 1.2.3
  • easys-ordermanager/easys_ordermanager/v2/serializer.Serializer is considered WIP until integration in EasyS starts and new changes will go into v3 see serializer changelog for changes between v1 and v2

1.3.2 (2020-04-02)

Reverted

1.2.3 (2020-03-03)

Make sure Django 3 is not installed until further support

1.2.2 (2020-03-03)

Add proper dependencies to avoid unwanted failure with possible upgrades when installed freshly. See setup.py for dependencies

1.2.1 (2020-02-27)

Add unique validation on opening_hours list of values of OrderLineListingSerializer. The opening hours lis should be unique for every day_of_week (see OrderLineListingOpeningHoursSerializer)

1.2.0 (2019-09-17)

This release contains backwards incompatible changes.

Changes on OrderLineDisplayBasicSerializer

  • Removed: geo_targeting field.
  • New: geo_targeting_zip field which accepts one string zip code. Not mandatory
  • New: geo_targeting_radius field accepting integer values between 1-80 (km). Mandatory only if geo_targeting_zip is given.
  • Removed: stock_images_allowed field:
  • New: banner_image_selection choice field accepting following values:
    • 0 for 'From website' / 'Von der Webseite' option
    • 1 for 'From customer' / 'Vom kunden' option
    • 2 for 'Customer photos' / 'Regiohelden Bilder' option
  • Change: target_page_type existing field which is not required anymore.

Changes on OrderLineGoogleAdsPremiumSerializer:

  • New: call_tracking boolean required field.

1.1.3 (2019-09-11)

Clean README file.

1.1.2 (2019-09-11)

Fix expected_impression_share field of OrderLineGoogleAdsBasicSerializer to accept 5 digits in order to validate value 100.00

1.1.1 (2019-09-06)

Small fix on pep8 error

1.1.0 (2019-09-04)

This release contains backwards incompatible changes

  • Split Display detail OrderLineDisplaySerializer in two different serializers and fields for basic and premium product levels:

    • remove detail_display field from OrderLine

    • add detail_display_basic field (OrderLineDisplayBasicSerializer) on OrderLine

      The serializer contains following fields:

      New fields:

      • banner_color_selection
        choice field with values: 1 for Color from Logo/Website and 2 for Set color . To be used in combination with fields color_code_x

      Fields with changed definition

      • impressions_per_month
        choice field with accepted values: 20.000 , 40.000 and 80.000
      • creative_options
        choice field contains only values: 1 for Customer provided and 3 for Create animated

      Fields with the same definition as in the previous OrderLineDisplaySerializer

      • geo_targeting
      • geo_targeting
      • campaign_goal
      • headline
      • sub_headline
      • bullet_points
      • call_to_action
      • color_code_1
      • color_code_2
      • color_code_3
      • stock_images_allowed
      • target_page_type
      • target_url
      • package_template
      • location_frame_text
      • creative_options
    • add detail_display_premium field (OrderLineDisplayPremiumSerializer) on OrderLine

      Serializer contains following fields with the same definition as in the previous OrderLineDisplaySerializer

      • booking_type
      • target_devices
      • creatives_format
      • impressions_per_day
      • impressions_per_month
      • age_targeting
      • gender_targeting
      • geo_targeting
      • channel_targeting
      • interest_targeting
      • campaign_goal
      • target_page_type
      • target_url
      • creative_options
  • Split Google Ads detail OrderLineGoogleAdsSerializer in two different serializers for basic and premium product levels:

    • remove detail_google_ads field from OrderLine

    • add detail_google_ads_basic field (OrderLineGoogleAdsBasicSerializer) on OrderLine

      Serializer contains following fields with the same definition as in the previous OrderLineGoogleAdsSerializer

      • campaign_goal
      • regions
      • expected_impression_share
      • keywords
      • keywords_with_zero_search_volume
      • target_audience
    • add detail_google_ads_premium field (OrderLineGoogleAdsPremiumSerializer) on OrderLine

      Serializer contains following fields with the same definition as in the previous OrderLineGoogleAdsSerializer

      • call_to_action
      • campaign_goal
      • regions
      • expected_clicks
      • expected_conversions
      • existing_account_id
      • include_remarketing
      • keywords
      • keywords_with_zero_search_volume
      • target_audience
      • usp
  • All product fee fields on OrderLineSerializer became optional:

    • setup_fee
    • start_fee
    • budget
    • fee
    • one_time_budget
    • commission
    • deferred_payment_sum
  • Add validation for commission provided for product type Google Ads level Basic: fixed value of 40

  • Add validation for combination of product type and level: check if a matching HC products subtype exists

  • Add validation for the payment fees provided: check if a matching HC payment type exists.

1.0.4 (2019-08-21)

  • Add new fee type postponed_setup_fee
  • Add reference customer boolean to Location serializer

1.0.3 (2019-07-03)

  • Don't use allow_null with BooleanField (djangorestframework<3.9 doesn't support it)

1.0.2 (2019-07-01)

  • Allow to use empty/null values for non-required fields

1.0.1 (2019-06-27)

  • Add missing files to the package

1.0.0 (2019-06-24)

  • Initial release

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easys-ordermanager-1.4.44.tar.gz (61.6 kB view details)

Uploaded Source

Built Distribution

easys_ordermanager-1.4.44-py3-none-any.whl (59.4 kB view details)

Uploaded Python 3

File details

Details for the file easys-ordermanager-1.4.44.tar.gz.

File metadata

  • Download URL: easys-ordermanager-1.4.44.tar.gz
  • Upload date:
  • Size: 61.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for easys-ordermanager-1.4.44.tar.gz
Algorithm Hash digest
SHA256 4993df093c4b5f1f62250c1a8bad48b17d3fa2da070fa7bc2e1d55b8022af18d
MD5 5a2236f3dd45ac7c1a665d1475a18639
BLAKE2b-256 0ad2edc5d97671fe0cede534ca4413460810a14e1869c355950cd746099bfe9d

See more details on using hashes here.

File details

Details for the file easys_ordermanager-1.4.44-py3-none-any.whl.

File metadata

  • Download URL: easys_ordermanager-1.4.44-py3-none-any.whl
  • Upload date:
  • Size: 59.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for easys_ordermanager-1.4.44-py3-none-any.whl
Algorithm Hash digest
SHA256 07741744e246c603a9a3458c08935c79d6e31bfdee598ece23981b752db88c70
MD5 e98a9727ef24b62f5b7a780e6af0fa85
BLAKE2b-256 3b71d7cccd52f98e7f365eb2ef405c70f8b29d60b381f154976515e8cd0cdfb3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page