-
Notifications
You must be signed in to change notification settings - Fork 0
REW-3249 - updates customer example in gps docs #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -152,34 +152,34 @@ Authorization: Token token=xxx | |
| Content-Type: application/json | ||
|
|
||
| { | ||
| "order": { | ||
| "programme_ref": "1309", | ||
| "product_id": "3257", | ||
| "points": "100", | ||
| "customer_name": "Test Order User", | ||
| "customer_email": "email@address.com", | ||
| "customer_phone": "447502375063", | ||
| "customer_address_1": "22 A street", | ||
| "customer_address_2": "", | ||
| "country": "UK", | ||
| "town": "renfrew", | ||
| "postcode": "pa4 8qy", | ||
| "recipient_address": "22 A street \n\nrenfrew \npa4 8qy", | ||
| "recipient_name": "Mohammed Ashraf", | ||
| "recipient_email": "", | ||
| "recipient_phone": "447502375063", | ||
| "delivery_instructions": "" | ||
| }, | ||
| "line_items": { | ||
| "0": { | ||
| "line_item": { | ||
| "name": "Sony Playstation 4 Console", | ||
| "sku": "L-123", | ||
| "quantity": "1", | ||
| "points": "27720" | ||
| } | ||
| } | ||
| } | ||
| "order": { | ||
| "programme_ref": "1309", | ||
| "product_id": "3257", | ||
| "points": "100", | ||
| "customer_name": "Test Order User", | ||
| "customer_email": "email@address.com", | ||
| "customer_phone": "447700900063", | ||
| "customer_address_1": "22 A street", | ||
| "customer_address_2": "", | ||
| "country": "UK", | ||
| "town": "stratford", | ||
| "postcode": "CV37 9BF", | ||
| "recipient_address": "22 A street \n\nstratford \nCV37 9BF", | ||
| "recipient_name": "Test Order Recipient", | ||
| "recipient_email": "", | ||
| "recipient_phone": "447700900063", | ||
| "delivery_instructions": "" | ||
| }, | ||
| "line_items": { | ||
| "0": { | ||
| "line_item": { | ||
| "name": "Sony Playstation 4 Console", | ||
| "sku": "L-123", | ||
| "quantity": "1", | ||
| "points": "27720" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| ``` | ||
|
|
||
|
|
@@ -197,18 +197,18 @@ Content-Type: application/json | |
| "ordered_at": "2017-01-30T17:23:25.945Z", | ||
| "programme_id": 34, | ||
| "customer_name": "Test Order User", | ||
| "customer_phone": "447502375063", | ||
| "customer_phone": "447700900063", | ||
| "customer_email": "email@address.com", | ||
| "recipient_address": "22 A street \n \nrenfrew \nUK \npa4 8qy", | ||
| "recipient_address": "22 A street \n\nstratford \nCV37 9BF", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is that the old office address?:) |
||
| "delivery_instructions": "", | ||
| "voucher_card_number": null, | ||
| "tracking_id": null, | ||
| "tracking_url": null, | ||
| "dispatch_date": null, | ||
| "created_at": "2017-01-30T17:23:26.103Z", | ||
| "updated_at": "2017-01-30T17:23:26.103Z", | ||
| "recipient_name": "Mohammed Ashraf", | ||
| "recipient_phone": "447502375063", | ||
| "recipient_name": "Test Order Recipient", | ||
| "recipient_phone": "447700900063", | ||
| "recipient_email": "", | ||
| "state": "pending", | ||
| "variant_id": null, | ||
|
|
@@ -234,8 +234,8 @@ Content-Type: application/json | |
| "old_order_type": false, | ||
| "customer_address_1": "22 A street", | ||
| "customer_address_2": "", | ||
| "town": "renfrew", | ||
| "postcode": "pa4 8qy", | ||
| "town": "stratford", | ||
| "postcode": "CV37 9BF", | ||
| "country_name": "UK", | ||
| "remote_order": null, | ||
| "currency_id": 3, | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.