Reason

Reason are the entity that you can update in order to get customer feedback on why the are returning the line item.

The Reason model

The reason model contains all fields that are required to manage user feedback

Properties

  • Name
    id
    Type
    string
    Description

    The unique reason identifier for the object.

  • Name
    active
    Type
    boolean
    Description

    Ethier if the reason is active or not.

  • Name
    shopifyReason
    Type
    string
    Description

    name of shopify reason

  • Name
    shopifyReasonNote
    Type
    string
    Description

    note for shopifyReason


GET/api/shop/reasons

List of shop reason

This endpoint allows you to get all the reason used on your shop .

Request

GET
/api/shop/reasons
curl -X PUT https://web.baback.co/api/shop/reasons \
  -H "Authorization: Bearer {token}"

Response


    [
      {
        "id": strng,
        "values": [
          {
            "lang": string,
            "text": string
          }
        ],
        "active": true
      }
    ]