Care

Get the details of a Care Folder

Rate limiting

This endpoint is rate limited to 600 requests per minute and 40000 requests per day. If you exceed this limit, you will receive a 429 status code.

get/ws/sav/{careFolderId}

Path parameters

careFolderIdinteger required

ID of the Care Folder to retrieve

Response

Retrieved

backcareboolean

True if Seller subscribed to BackCare

country_codestring

Country locale code, lowercase

date_closedstring date-time

Date of the Care Folder's closing (ISO 8601 format)

date_creationstring date-time

Date of the Care Folder's creation (ISO 8601 format)

date_last_messagestring date-time

Date of the Care Folder's last posted message (ISO 8601 format)

date_modificationstring date-time

Date of the Care Folder's last modification (ISO 8601 format)

idinteger

ID of the Care Folder

state0 | 9

State of the Care Folder:

  • 0 - OPEN
  • 9 - CLOSED

Example response

{
  "backcare": true,
  "client": {
    "first_name": "John",
    "last_name": "Doe",
    "email": "john.doe@mymail.com"
  },
  "country_code": "fr-fr",
  "date_closed": "1970-01-01T00:00:00+00:00",
  "date_creation": "1970-01-01T00:00:00+00:00",
  "date_last_message": "1970-01-01T00:00:00+00:00",
  "date_modification": "1970-01-01T00:00:00+00:00",
  "id": 123,
  "lines": [
    {
      "id": 123,
      "tiles": [
        {
          "id": 123,
          "name": "Technical"
        }
      ],
      "issues": [
        {
          "customerIssue": "BATTERY_NOT_CHARGING",
          "tag": "TECHNICAL"
        }
      ],
      "rate": 1,
      "score": 1,
      "state": 1,
      "warnings": [],
      "resolution_choice": "REPLACE",
      "declared_warranty_state": "IN_WARRANTY",
      "return_labels": [
        {
          "date_creation": "1970-01-01T00:00:00+00:00",
          "state": "ALIVE",
          "label": "https://www.mycdn.com/path/to/label.document",
          "initiator": "Merchant",
          "kind": "MERCHANT_TO_CUSTOMER"
        }
      ]
    }
  ],
  "merchant": {
    "id": 123,
    "username": "rose.bush@companymail.com",
    "first_name": "Rose",
    "last_name": "Bush"
  },
  "messages": [
    {
      "id": 123,
      "message": "Lorem ipsum dolor sit amet",
      "date_creation": "1970-01-01T00:00:00+00:00",
      "attachments": [
        {
          "id": 123,
          "attachment": "https://www.mycdn.com/path/to/the/attachment.file",
          "date_creation": "1970-01-01T00:00:00+00:00"
        }
      ],
      "initiator": "Merchant",
      "kind": "MERCHANT_TO_ALL"
    }
  ],
  "orderline": {
    "id": 123,
    "order": {
      "order_id": 123,
      "shipping_address": {
        "company": "My Company",
        "first_name": "John",
        "last_name": "Smith",
        "street": "1 rue du Paradis",
        "street2": " ",
        "postal_code": "33000",
        "country": "FR",
        "city": "Bordeaux",
        "phone": "0123456789",
        "email": "john.smith@mycompany.com",
        "customer_id_number": "123"
      },
      "billing_address": {
        "company": "My Company",
        "first_name": "John",
        "last_name": "Smith",
        "street": "1 rue du Paradis",
        "street2": " ",
        "postal_code": "33000",
        "country": "FR",
        "city": "Bordeaux",
        "phone": "0123456789",
        "email": "john.smith@mycompany.com",
        "customer_id_number": "123"
      },
      "tracking_number": "ABC123",
      "tracking_url": "https://www.mycarrier.com/delivery/track",
      "shipper": 456,
      "shipper_display": "Shipper",
      "date_creation": "1970-01-01T00:00:00+00:00",
      "date_modification": "1970-01-01T00:00:00+00:00",
      "date_shipping": "1970-01-01T00:00:00+00:00",
      "date_payment": "1970-01-01T00:00:00+00:00",
      "state": 1,
      "price": "89.99",
      "shipping_price": "5.99",
      "currency": "EUR",
      "country_code": "fr-fr"
    },
    "snapshot": {
      "product": {
        "product_id": 123,
        "category_3": {
          "category_name": "Smartphones"
        }
      },
      "listing": 456,
      "sku": "0123456789012",
      "image": "https://www.mycdn.com/path/to/the/image.file"
    },
    "quantity": 2,
    "price": "89.99",
    "state": 2
  },
  "state": 9
}