Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Méthodes disponibles

Anchor
getorder
getorder
GET ⇒ social-sb.com/api/v2/orders/{orderId}

...

Code Block
languagephp
themeEmacs
"order": {
 "id": "654321",
 "createdAt": "2018-05-19 07:33:44",
 "updatedAt": "2018-05-31 08:33:26",
 "amount": "54.00",
 "customerId": "123456",
 "orderId": "aaaaa123bbbbb",
 "facturationNumber": null,
 "status": "10",
 "startService": "2019-01-21",
 "endService": "2019-01-29",
 "tags": ["tag1","tag2","tag3"],
 "attributes": [
	 ["attr1-groupe1","attr2-groupe1"],
	 ["attr1-groupe2","attr2-groupe2"]
 ]
 }

...

Code Block
languagephp
themeEmacs
"orders": [
 {
 "id": "654321",
 "createdAt": "2018-05-13 17:40:44",
 "updatedAt": "2018-05-31 08:31:43",
 "amount": "54.00",
 "customerId": "123456",
 "orderId": "aaaaa123bbbbb",
 "facturationNumber": null,
 "status": "10",
 "startService": "2019-01-21",
 "endService": "2019-01-29"
 },
 {
 "id": "987654",
 "createdAt": "2018-05-19 07:33:44",
 "updatedAt": "2018-05-31 08:33:26",
 "amount": "77.00",
 "customerId": "565653",
 "orderId": "ccccc879ddddd",
 "facturationNumber": null,
 "status": "20",
 "startService": null,
 "endService": null
 }
 ],
 "count": 2,
 "nextPageUrl": "http://social-sb.com/api/v2/orders?startAt=2"
}"

...