latestSwagger 2.0ShopBase Dev 1.02026-08-10153268547.4 KB

353ccde6240d

Order

Creates an order

Creates an order

post/admin/orders.json

Request body

access_keystring

Access key

balancenumber

Order balance

buyer_accepts_marketingboolean

Whether the customer consented to receive email updates from the shop.

cancel_reasonstring

The reason why the order was canceled. </br>customer: The customer canceled the order. </br>fraud: The order was fraudulent. </br>inventory: Items in the order were not in inventory. </br>declined: The payment was declined. </br>other: A reason not in this list.

cancelled_atstring

The date and time (ISO 8601 format) when the order was canceled.

cart_tokenstring

Cart token

chargeback_amountnumber

The amount of chargeback.

chargeback_deadline_atstring

The date and time (ISO 8601 format) when the order's chargeback end.

chargeback_dispute_idstring

The id of dispute

chargeback_statusstring

The order's chargeback status. Valid values </br>null: The order does not have any disputes. </br>open: The order's dispute is open. </br>lost: Merchant lost the chargeback. </br>won: Merchant won the chargeback.

checkout_tokenstring

Checkout token, unsing for checkout action

closed_atstring

The date and time (ISO 8601 format) when the order was closed.

created_atstring

The autogenerated date and time (ISO 8601 format) when the order was created in ShopBase. The value for this property cannot be changed.

created_at_in_timezonestring

The autogenerated date and time (ISO 8601 format) when the order was created by timezone in ShopBase. The value for this property cannot be changed.

currencystring

The three-letter code (ISO 4217 format) for the shop currency.

customer_localestring

The two or three-letter language code, optionally followed by a region modifier.

emailstring

The customer's email address.

financial_statusstring

The status of payments associated with the order. Can only be set when the order is created. Valid values </br>pending: The payments are pending. Payment might fail in this state. Check again to confirm whether the payments have been paid successfully. </br>authorized: The payments have been authorized. </br>partially_paid: The order have been partially paid. </br>paid: The payments have been paid. </br>partially_refunded: The payments have been partially refunded. </br>refunded: The payments have been refunded. </br>voided: The payments have been voided.

fulfillment_statusstring

The order's status in terms of fulfilled line items. Valid values </br>fulfilled: Every line item in the order has been fulfilled. </br>null: None of the line items in the order have been fulfilled. </br>partial: At least one line item in the order has been fulfilled. </br>restocked: Every line item in the order has been restocked and the order canceled. </br>processing: Every line item in the order is in processing. (except Printbase plan) </br>processing: Use Printbase plan - Order has been placed to supplier. </br>partial-processing: At least one line item in the order is in processing.

idinteger

Order ID

is_in_post_purchaseboolean

Whether in post purchase or not

is_riskboolean

Is order risk

namestring

Order name

not_explicit_discountnumber

Not explicit discount

notestring

An optional note that a shop owner can attach to the order.

order_numberinteger

The ID of the order used by the shop owner and customer. This is different from the id property, which is the ID of the order used by the API.

order_status_urlstring

The URL pointing to the order status web page, if applicable.

original_total_pricenumber

Original total price

payment_gatewaystring

Payment gateway

payment_gateway_namesstring[]

The list of payment gateways used for the order.

phonestring

The customer's phone number.

post_purchase_timeout_atstring

Post purchase timeout at time

previous_shipping_feenumber

Previous shiping fee

processed_atstring

Time this order be processed

referring_sitestring

The website where the customer clicked a link to the shop.

shipping_discountnumber

Caculated shipping discount

shipping_feenumber

Caculated shipping fee

shipping_taxnumber

Caculated shipping tax

shop_idinteger

Shop ID

source_namestring

Where the order originated. Can be set only during order creation, and is not writeable afterwards. Values for ShopBase channels are protected and cannot be assigned by other API clients: web, pos, shopbase_draft_order, iphone, and android. Orders created via the API can be assigned any other string of your choice. If unspecified, then new orders are assigned the value of your app's ID.

subtotal_pricenumber

Subtotal price

tagsstring

Tags attached to the order, formatted as a string of comma-separated values. Tags are additional short descriptors, commonly used for filtering and searching. Each individual tag is limited to 40 characters in length.

taxes_includedboolean

Whether taxes are included in the order subtotal.

tokenstring

Checkout token, unsing for identifing

total_discountsnumber

Total discounts

total_line_items_discountnumber

Total line item discount

total_line_items_pricenumber

Total line item price

total_pricenumber

Total price

total_quantitynumber

Total quantity

total_shippingnumber

it's equal shipping_fee - shipping_discount + shipping_tax

total_taxnumber

Total tax

total_tip_receivednumber

The sum of all the tips in the order in the shop currency.

total_weightnumber

Total height

updated_atstring

Time auto generate when the order was updated

weight_unitstring

weight_unit

Example request

{
  "access_key": "68778783ad298f1c80c3bafcddeea02f",
  "additional_information": {
    "IPS": "FPT",
    "city": "Hanoi",
    "country": "example country",
    "hostname": "example host name",
    "latitude": "27.683528",
    "longitude": "27.683528",
    "organization": "example organization",
    "region": "VN",
    "timezone": "7"
  },
  "applied_discount": {
    "amount": "10",
    "description": "example desc",
    "title": "Super discount",
    "value": "example value"
  },
  "balance": 10000,
  "billing_address": {
    "address1": "123 Fake Street",
    "city": "Fakecity",
    "country": "Vietnam",
    "country_code": "VN",
    "country_name": "Viet nam",
    "cpf_or_cnpj_number": "CPF: 231.234.234-23, CNPJ: 23.123.423/4234-24",
    "first_name": "John",
    "last_name": "Smith",
    "name": "example name",
    "province": "Ontario",
    "zip": "K2P 1L4"
  },
  "cancel_reason": "customer",
  "cancelled_at": "2019-04-22T11:00:00-05:00",
  "cart_token": "68778783ad298f1c80c3bafcddeea02f",
  "chargeback_amount": 1000,
  "chargeback_deadline_at": "2019-04-22T11:00:00-05:00",
  "checkout_token": "68778783ad298f1c80c3bafcddeea02f",
  "client_details": {
    "accept_language": "en-US,en;q=0.9",
    "browser_height": 1320,
    "browser_ip": "216.191.105.146",
    "browser_width": 1280,
    "session_hash": "9ad4d1f4e6a8977b9dd98eed1e477643",
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
  },
  "closed_at": "2019-04-22T11:00:00-05:00",
  "created_at": "2019-04-22T11:00:00-05:00",
  "created_at_in_timezone": "2019-04-22T11:00:00-05:00",
  "currency": "USD",
  "customer_locale": "en-CA",
  "discount_applications": [
    {
      "allocation_method": "across",
      "code": "SUMMERSALE",
      "description": "my scripted discount",
      "discount_type": "fixed_amount",
      "is_applied_entire_order": true,
      "target_selection": "all",
      "target_type": "line_item",
      "title": "custom discount",
      "type": "script",
      "value": 10,
      "value_type": "fixed_amount"
    }
  ],
  "discount_code": [
    {
      "amount": 30,
      "code": "SPRING30",
      "type": "fixed_amount"
    }
  ],
  "email": "bob.norman@hostmail.com",
  "financial_status": "pending",
  "fulfillments": [
    {
      "id": 255858046,
      "name": "255858046",
      "notify_customer": true,
      "order_id": 450789469,
      "service": "255858046",
      "shipment_status": "confirmed",
      "status": "255858046",
      "tracking_company": "4PX",
      "tracking_number": "1Z2345",
      "tracking_numbers": [
        "112345Z2345"
      ],
      "tracking_url": "http://example.com/etracking/tracking.cgi?InquiryNumber1=1Z2345&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track",
      "tracking_urls": [
        "http://track-example.com/startairmail.php?code=112345Z2345"
      ],
      "variant_inventory_management": "shopbase"
    }
  ],
  "id": 450789469,
  "is_in_post_purchase": true,
  "line_items": [
    {
      "discount_amount": 1,
      "fulfillable_quantity": 1,
      "fulfillment_service": "amazon",
      "fulfillment_status": "fulfilled",
      "image_src": "https://example.com/img.jpg",
      "item_discount_price": 20,
      "line_item_discount_amount": 20,
      "line_item_discount_price": 100,
      "line_item_price": 100,
      "line_item_price_after_discount": 20,
      "line_item_price_before_discount": 20,
      "line_item_price_with_explicit_discount": 10,
      "line_item_weight": 10,
      "not_explicit_discount_price": 2,
      "order_id": 1,
      "price": 225,
      "product_id": 1,
      "product_type": "1",
      "quantity": 1000,
      "raw_price": 20,
      "raw_weight": 10,
      "requires_shipping": true,
      "shipping_rate": {
        "code": "weight_based_47925+weight_based_47926+weight_based_47928",
        "id": 43531,
        "price": 8,
        "title": "Small Packet International Air",
        "type": "weight_based, price_based, item_based",
        "variant_id": 123213213123
      },
      "sku": "IPOD2008GREEN",
      "tags": "Emotive, Flash Memory, MP3, Music",
      "tax_amount": 20,
      "tax_lines": [
        {
          "price": 25.81,
          "rate": 0.13,
          "title": "HST"
        }
      ],
      "tax_rate": 1,
      "title": "IPOD2008GREEN",
      "total_item_discount_price": 10,
      "total_line_with_discount_price": 10,
      "total_tax_amount": 10,
      "variant_id": 1,
      "variant_title": "IPOD2008GREEN",
      "weight": 1.5,
      "weight_unit": "kg"
    }
  ],
  "name": "example name",
  "not_explicit_discount": 123,
  "note": "Customer changed their mind.",
  "order_number": 100,
  "order_status_url": "https://checkout.shopbase.com/112233/checkouts/4207896aad57dfb159/thank_you_token?key=753621327b9e8a64789651bf221dfe35",
  "original_total_price": 10001203,
  "payment_gateway": "paypal",
  "phone": "+557734881234",
  "post_purchase_timeout_at": "2019-04-22T11:00:00-05:00",
  "previous_shipping_fee": 10000,
  "processed_at": "2019-04-22T11:00:00-05:00",
  "referring_site": "http://www.anexample.com",
  "refunds": [
    {
      "id": 92738740,
      "note": "Item was damaged during shipping",
      "order_adjustments": [
        {
          "amount": -8,
          "kind": "shipping_refund",
          "order_id": 171016912932,
          "reason": "Shipping refund"
        }
      ],
      "order_id": 171016912932,
      "refund_line_items": [
        {
          "discount_amount": 10.99,
          "line_item": {
            "discount_amount": 1,
            "fulfillable_quantity": 1,
            "fulfillment_service": "amazon",
            "fulfillment_status": "fulfilled",
            "image_src": "https://example.com/img.jpg",
            "item_discount_price": 20,
            "line_item_discount_amount": 20,
            "line_item_discount_price": 100,
            "line_item_price": 100,
            "line_item_price_after_discount": 20,
            "line_item_price_before_discount": 20,
            "line_item_price_with_explicit_discount": 10,
            "line_item_weight": 10,
            "not_explicit_discount_price": 2,
            "order_id": 1,
            "price": 225,
            "product_id": 1,
            "product_type": "1",
            "quantity": 1000,
            "raw_price": 20,
            "raw_weight": 10,
            "requires_shipping": true,
            "shipping_rate": {
              "code": "weight_based_47925+weight_based_47926+weight_based_47928",
              "id": 43531,
              "price": 8,
              "title": "Small Packet International Air",
              "type": "weight_based, price_based, item_based",
              "variant_id": 123213213123
            },
            "sku": "IPOD2008GREEN",
            "tags": "Emotive, Flash Memory, MP3, Music",
            "tax_amount": 20,
            "tax_lines": [
              {
                "price": 25.81,
                "rate": 0.13,
                "title": "HST"
              }
            ],
            "tax_rate": 1,
            "title": "IPOD2008GREEN",
            "total_item_discount_price": 10,
            "total_line_with_discount_price": 10,
            "total_tax_amount": 10,
            "variant_id": 1,
            "variant_title": "IPOD2008GREEN",
            "weight": 1.5,
            "weight_unit": "kg"
          },
          "line_item_id": 128323456,
          "quantity": 2,
          "restock_type": "return",
          "subtotal": 10.99,
          "title": "Title",
          "total_refund": 2.67,
          "total_tax": 2.67,
          "variant_title": "Variant title"
        }
      ],
      "restock": true,
      "shipping": {
        "amount": 10,
        "full_refund": true
      },
      "transactions": [
        {
          "amount": 10,
          "authorization": "ch_1AtJu6CktlpKSclI4zjeQb2t",
          "currency": "USD",
          "error_code": "invalid_cvc",
          "gateway": "shopbase_payments",
          "id": 999225661,
          "kind": "capture",
          "message": "Marked the Cash on Delivery (COD) payment as received",
          "order_id": 450789469,
          "source_name": "web",
          "status": "success",
          "test": true
        }
      ],
      "user_id": 238478920
    }
  ],
  "shipping_address": {
    "address1": "123 Fake Street",
    "city": "Fakecity",
    "country": "Vietnam",
    "country_code": "VN",
    "country_name": "Viet nam",
    "cpf_or_cnpj_number": "CPF: 231.234.234-23, CNPJ: 23.123.423/4234-24",
    "first_name": "John",
    "last_name": "Smith",
    "name": "example name",
    "province": "Ontario",
    "zip": "K2P 1L4"
  },
  "shipping_discount": 2,
  "shipping_fee": 10,
  "shipping_lines": [
    {
      "carrier_identifier": "third_party_carrier_identifier",
      "code": "weight_based_47925+weight_based_47926+weight_based_47928",
      "discounted_price": 4,
      "fulfillment_service": "third_party_fulfillment_service_id",
      "price": 4,
      "source": "canada_post",
      "tax_lines": [
        {
          "price": 25.81,
          "rate": 0.13,
          "title": "HST"
        }
      ],
      "title": "Small Packet International Air"
    }
  ],
  "shipping_tax": 2,
  "shop_id": 123123,
  "source_name": "web",
  "subtotal_price": 123,
  "tax_lines": [
    {
      "price": 25.81,
      "rate": 0.13,
      "title": "HST"
    }
  ],
  "taxes_included": true,
  "token": "68778783ad298f1c80c3bafcddeea02f",
  "total_discounts": 1,
  "total_line_items_discount": 123,
  "total_line_items_price": 123,
  "total_price": 100000,
  "total_quantity": 100,
  "total_shipping": 10,
  "total_tax": 123,
  "total_tip_received": 4.87,
  "total_weight": 10,
  "updated_at": "2019-04-22T11:00:00-05:00",
  "weight_unit": "Kg"
}

Response

OK

Example response

{
  "order": {
    "access_key": "68778783ad298f1c80c3bafcddeea02f",
    "additional_information": {
      "IPS": "FPT",
      "city": "Hanoi",
      "country": "example country",
      "hostname": "example host name",
      "latitude": "27.683528",
      "longitude": "27.683528",
      "organization": "example organization",
      "region": "VN",
      "timezone": "7"
    },
    "applied_discount": {
      "amount": "10",
      "description": "example desc",
      "title": "Super discount",
      "value": "example value"
    },
    "balance": 10000,
    "billing_address": {
      "address1": "123 Fake Street",
      "city": "Fakecity",
      "country": "Vietnam",
      "country_code": "VN",
      "country_name": "Viet nam",
      "cpf_or_cnpj_number": "CPF: 231.234.234-23, CNPJ: 23.123.423/4234-24",
      "first_name": "John",
      "last_name": "Smith",
      "name": "example name",
      "province": "Ontario",
      "zip": "K2P 1L4"
    },
    "cancel_reason": "customer",
    "cancelled_at": "2019-04-22T11:00:00-05:00",
    "cart_token": "68778783ad298f1c80c3bafcddeea02f",
    "chargeback_amount": 1000,
    "chargeback_deadline_at": "2019-04-22T11:00:00-05:00",
    "checkout_token": "68778783ad298f1c80c3bafcddeea02f",
    "client_details": {
      "accept_language": "en-US,en;q=0.9",
      "browser_height": 1320,
      "browser_ip": "216.191.105.146",
      "browser_width": 1280,
      "session_hash": "9ad4d1f4e6a8977b9dd98eed1e477643",
      "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36"
    },
    "closed_at": "2019-04-22T11:00:00-05:00",
    "created_at": "2019-04-22T11:00:00-05:00",
    "created_at_in_timezone": "2019-04-22T11:00:00-05:00",
    "currency": "USD",
    "customer_locale": "en-CA",
    "discount_applications": [
      {
        "allocation_method": "across",
        "code": "SUMMERSALE",
        "description": "my scripted discount",
        "discount_type": "fixed_amount",
        "is_applied_entire_order": true,
        "target_selection": "all",
        "target_type": "line_item",
        "title": "custom discount",
        "type": "script",
        "value": 10,
        "value_type": "fixed_amount"
      }
    ],
    "discount_code": [
      {
        "amount": 30,
        "code": "SPRING30",
        "type": "fixed_amount"
      }
    ],
    "email": "bob.norman@hostmail.com",
    "financial_status": "pending",
    "fulfillments": [
      {
        "id": 255858046,
        "name": "255858046",
        "notify_customer": true,
        "order_id": 450789469,
        "service": "255858046",
        "shipment_status": "confirmed",
        "status": "255858046",
        "tracking_company": "4PX",
        "tracking_number": "1Z2345",
        "tracking_numbers": [
          "112345Z2345"
        ],
        "tracking_url": "http://example.com/etracking/tracking.cgi?InquiryNumber1=1Z2345&TypeOfInquiryNumber=T&AcceptUPSLicenseAgreement=yes&submit=Track",
        "tracking_urls": [
          "http://track-example.com/startairmail.php?code=112345Z2345"
        ],
        "variant_inventory_management": "shopbase"
      }
    ],
    "id": 450789469,
    "is_in_post_purchase": true,
    "line_items": [
      {
        "discount_amount": 1,
        "fulfillable_quantity": 1,
        "fulfillment_service": "amazon",
        "fulfillment_status": "fulfilled",
        "image_src": "https://example.com/img.jpg",
        "item_discount_price": 20,
        "line_item_discount_amount": 20,
        "line_item_discount_price": 100,
        "line_item_price": 100,
        "line_item_price_after_discount": 20,
        "line_item_price_before_discount": 20,
        "line_item_price_with_explicit_discount": 10,
        "line_item_weight": 10,
        "not_explicit_discount_price": 2,
        "order_id": 1,
        "price": 225,
        "product_id": 1,
        "product_type": "1",
        "quantity": 1000,
        "raw_price": 20,
        "raw_weight": 10,
        "requires_shipping": true,
        "shipping_rate": {
          "code": "weight_based_47925+weight_based_47926+weight_based_47928",
          "id": 43531,
          "price": 8,
          "title": "Small Packet International Air",
          "type": "weight_based, price_based, item_based",
          "variant_id": 123213213123
        },
        "sku": "IPOD2008GREEN",
        "tags": "Emotive, Flash Memory, MP3, Music",
        "tax_amount": 20,
        "tax_lines": [
          {
            "price": 25.81,
            "rate": 0.13,
            "title": "HST"
          }
        ],
        "tax_rate": 1,
        "title": "IPOD2008GREEN",
        "total_item_discount_price": 10,
        "total_line_with_discount_price": 10,
        "total_tax_amount": 10,
        "variant_id": 1,
        "variant_title": "IPOD2008GREEN",
        "weight": 1.5,
        "weight_unit": "kg"
      }
    ],
    "name": "example name",
    "not_explicit_discount": 123,
    "note": "Customer changed their mind.",
    "order_number": 100,
    "order_status_url": "https://checkout.shopbase.com/112233/checkouts/4207896aad57dfb159/thank_you_token?key=753621327b9e8a64789651bf221dfe35",
    "original_total_price": 10001203,
    "payment_gateway": "paypal",
    "phone": "+557734881234",
    "post_purchase_timeout_at": "2019-04-22T11:00:00-05:00",
    "previous_shipping_fee": 10000,
    "processed_at": "2019-04-22T11:00:00-05:00",
    "referring_site": "http://www.anexample.com",
    "refunds": [
      {
        "id": 92738740,
        "note": "Item was damaged during shipping",
        "order_adjustments": [
          {
            "amount": -8,
            "kind": "shipping_refund",
            "order_id": 171016912932,
            "reason": "Shipping refund"
          }
        ],
        "order_id": 171016912932,
        "refund_line_items": [
          {
            "discount_amount": 10.99,
            "line_item": {
              "discount_amount": 1,
              "fulfillable_quantity": 1,
              "fulfillment_service": "amazon",
              "fulfillment_status": "fulfilled",
              "image_src": "https://example.com/img.jpg",
              "item_discount_price": 20,
              "line_item_discount_amount": 20,
              "line_item_discount_price": 100,
              "line_item_price": 100,
              "line_item_price_after_discount": 20,
              "line_item_price_before_discount": 20,
              "line_item_price_with_explicit_discount": 10,
              "line_item_weight": 10,
              "not_explicit_discount_price": 2,
              "order_id": 1,
              "price": 225,
              "product_id": 1,
              "product_type": "1",
              "quantity": 1000,
              "raw_price": 20,
              "raw_weight": 10,
              "requires_shipping": true,
              "shipping_rate": {
                "code": "weight_based_47925+weight_based_47926+weight_based_47928",
                "id": 43531,
                "price": 8,
                "title": "Small Packet International Air",
                "type": "weight_based, price_based, item_based",
                "variant_id": 123213213123
              },
              "sku": "IPOD2008GREEN",
              "tags": "Emotive, Flash Memory, MP3, Music",
              "tax_amount": 20,
              "tax_lines": [
                {
                  "price": 25.81,
                  "rate": 0.13,
                  "title": "HST"
                }
              ],
              "tax_rate": 1,
              "title": "IPOD2008GREEN",
              "total_item_discount_price": 10,
              "total_line_with_discount_price": 10,
              "total_tax_amount": 10,
              "variant_id": 1,
              "variant_title": "IPOD2008GREEN",
              "weight": 1.5,
              "weight_unit": "kg"
            },
            "line_item_id": 128323456,
            "quantity": 2,
            "restock_type": "return",
            "subtotal": 10.99,
            "title": "Title",
            "total_refund": 2.67,
            "total_tax": 2.67,
            "variant_title": "Variant title"
          }
        ],
        "restock": true,
        "shipping": {
          "amount": 10,
          "full_refund": true
        },
        "transactions": [
          {
            "amount": 10,
            "authorization": "ch_1AtJu6CktlpKSclI4zjeQb2t",
            "currency": "USD",
            "error_code": "invalid_cvc",
            "gateway": "shopbase_payments",
            "id": 999225661,
            "kind": "capture",
            "message": "Marked the Cash on Delivery (COD) payment as received",
            "order_id": 450789469,
            "source_name": "web",
            "status": "success",
            "test": true
          }
        ],
        "user_id": 238478920
      }
    ],
    "shipping_address": {
      "address1": "123 Fake Street",
      "city": "Fakecity",
      "country": "Vietnam",
      "country_code": "VN",
      "country_name": "Viet nam",
      "cpf_or_cnpj_number": "CPF: 231.234.234-23, CNPJ: 23.123.423/4234-24",
      "first_name": "John",
      "last_name": "Smith",
      "name": "example name",
      "province": "Ontario",
      "zip": "K2P 1L4"
    },
    "shipping_discount": 2,
    "shipping_fee": 10,
    "shipping_lines": [
      {
        "carrier_identifier": "third_party_carrier_identifier",
        "code": "weight_based_47925+weight_based_47926+weight_based_47928",
        "discounted_price": 4,
        "fulfillment_service": "third_party_fulfillment_service_id",
        "price": 4,
        "source": "canada_post",
        "tax_lines": [
          {
            "price": 25.81,
            "rate": 0.13,
            "title": "HST"
          }
        ],
        "title": "Small Packet International Air"
      }
    ],
    "shipping_tax": 2,
    "shop_id": 123123,
    "source_name": "web",
    "subtotal_price": 123,
    "tax_lines": [
      {
        "price": 25.81,
        "rate": 0.13,
        "title": "HST"
      }
    ],
    "taxes_included": true,
    "token": "68778783ad298f1c80c3bafcddeea02f",
    "total_discounts": 1,
    "total_line_items_discount": 123,
    "total_line_items_price": 123,
    "total_price": 100000,
    "total_quantity": 100,
    "total_shipping": 10,
    "total_tax": 123,
    "total_tip_received": 4.87,
    "total_weight": 10,
    "updated_at": "2019-04-22T11:00:00-05:00",
    "weight_unit": "Kg"
  }
}