Ordexs API v1 Get an API key

Content

Update the order form

PATCHhttps://api.ordexs.com/v1/order_form

Change fields (by id), buttons (by id) and general settings; send only what changes. Name, phone, region and city stay visible and required, and at least one button stays visible.

Body

  • enabledboolean
  • fieldsarray of objects

    up to 30 items

    6 child fields
    • idstringRequired

      up to 40 characters

    • labelstring

      up to 80 characters

    • placeholderstring

      up to 120 characters

    • visibleboolean
    • requiredboolean
    • show_on_landingboolean
  • buttonsarray of objects

    up to 5 items

    4 child fields
    • idstringRequired

      One of cash_on_delivery, pay_card, add_to_cart

    • labelstring

      1–80 characters

    • visibleboolean
    • stickyboolean
  • generalobject
    9 child fields
    • titlestring

      up to 120 characters

    • subtitlestring

      up to 240 characters

    • languagestring

      One of auto, ar, fr, en

    • appearancestring

      One of inline, popup, sheet, drawer

    • sticky_buttonboolean
    • variant_per_itemboolean
    • whatsapp_buttonboolean
    • whatsapp_phonestring or null

      up to 32 characters

    • whatsapp_messagestring

      up to 500 characters

Returns

200 OK · The form. OrderForm

  • objectstring

    always "order_form"

  • enabledboolean
  • fieldsarray of objects
  • buttonsarray of objects
  • generalobject

Errors

Every error has the same shape. This endpoint can answer with: