Skip to content

Commit

Permalink
doc: modified example
Browse files Browse the repository at this point in the history
  • Loading branch information
panxl6 committed Jun 21, 2024
1 parent d0b55d0 commit 62445ac
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,20 @@ The AfterShip instance has the following properties which are exactly the same a

```javascript
const payload = {
'slug': 'usps',
'tracking_number': '9261290284678900371871',
'title': 'Title Name',
'smses': [
slug: 'usps',
tracking_number: '9261290284678900371871',
title: 'Title Name',
smses: [
'+18555072509',
'+18555072501'
],
'emails': [
emails: [
'[email protected]',
'[email protected]'
],
'order_id': 'ID 1234',
'order_id_path': 'http://www.aftership.com/order_id=1234',
'custom_fields': {
order_id: 'ID 1234',
order_id_path: 'http://www.aftership.com/order_id=1234',
custom_fields: {
'product_name': 'iPhone Case',
'product_price': 'USD19.99'
}
Expand Down

0 comments on commit 62445ac

Please sign in to comment.