Base:
http://api*****.shipede.com:4000/graphql
Request: login
Method : POST
- mutation{
- Login(
- data:{
- AcountId:6
- ApiKey: “yourapikeyhere”
- Wh:”moc1″
- }
- ){
- AcountID
- .
- .
- .
- }
- }
Parameters
Note: You need to login firt to have permissions to execute functions.
Example
Request: me
Method: POST
- {
- me{
- Address
- AccountID
- Activated
- }
- }
Parameters
AcountID: Float
CompanyName: String
ContactName: String
Address: String
Address2: String
City: String
Region: String
PostalCode: String
Country: String
Phone: String
Fax: String
HomePage: String
Email: String
AcountName: String
Status: Float
NewUserID: Float
Activated: String
KeyAPI: String
UserAgreement: Float
signup: Float
EmailBalanceNeg: Float
IDWEnterprise: Float
Closed: Float
LastDateUpdate: String
update_at: String
ClosedDate: String
central_id: Float
invitation_code: String
storage_fee_cicle: String
Note: You can add fields from the Accounts table.
Example
With Login
Without login
Request: replenishment
Method: POST
- {
- replenishment(data: {Coment: “Ship” skip: 5 take:10}) {
- request{
- RequestID
- UserID
- AcountID
- ComentRequest
- }
- totalCount
- }
- }
Parameters
Example
With Parameters to Search
Without Search
Request: create_replenishment
Method: POST
- {
- create_replenishment(
- data: {
- supplier_name: “Prueba”
- po_num: “123”
- tracking_num: “456”
- comments: “Hello”
- expected_delivery_date: “2019-10-10”
- pre_sync: “On”
- items: [
- { sku: “BC00002-01”, qty: 11 }
- { sku: “BC00003-01”, qty: 12 }
- { sku: “BC00004-01”, qty: 13}
- ]
- }
- ){
- RequestlD
- UserID
- }
- }
Parameters
Example
Result
Request: edit_replenishment
Method: POST
- {
- edit_replenishment(
- data: {
- reple_id: 991
- supplier_name: “Jose Luis Fer. H.”
- comments: “Cambiando algo en la informacion”
- pre_sync: On
- }
- ){
- RequestlD
- NameSupplier
- }
- }
Parameters
Example
Result
Comments
0 comments
Please sign in to leave a comment.